Are you over 18 and want to see adult content?
More Annotations
A complete backup of https://balkanje.com/latino-serije/eva-luna/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/crna-ruza-2013/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/osvetnik-2017/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/20-minuta/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/latino-serije/page/879/
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of webopskrifter.dk
Are you over 18 and want to see adult content?
A complete backup of bundeswahlleiter.de
Are you over 18 and want to see adult content?
A complete backup of sarpsborgmotor.no
Are you over 18 and want to see adult content?
A complete backup of pdf-downloads.net
Are you over 18 and want to see adult content?
Text
* Table of Contents
* Features
* Microservices
* Front-end
* Back-end
* Translation
* Email Engine
* Error Handling
* Performance
* Security
* Get Started
* Requirements
* Install
* Usage
* Create a project
* Development
* Debugging
* Production
* Tests
* Configuration
* Environment Variables* SSL Configuration
* Outbound Email Configuration * Favicon and Touch Icon Configuration * Authentication Methods* Google Auth
* Translation Configuration * Continuous Integration and Code Coverage * Amazon S3 and CloudFront Asset Setup* Tutorials
* Community
* Architecture
* Principles
* Related
* Contributing
* Contributors
* Trademark Notice
* License
LAD
* Scaffold a Koa webapp and API framework for Node.js Lad scaffolds a Koa webapp and API framework forNode.js
A lad that fell in love with a LASS • Built by @niftylettuce and contributors ------------------------- CLICK HERE FOR A LIVE DEMO ------------------------- ❤️ Love this project? Support @niftylettuce'sFOSS
on
Patreon or PayPal
🦄
TABLE OF CONTENTS
* Features
* Microservices
* Front-end
* Back-end
* Translation
* Email Engine
* Error Handling
* Performance
* Security
* Get Started
* Requirements
* Install
* Usage
* Configuration
* Tutorials
* Community
* Architecture
* Principles
* Related
* Contributing
* Contributors
* Trademark Notice
* License
FEATURES
Lad boasts dozens of features and is extremely configurable.MICROSERVICES
These microservices are preconfigured for security, performance, andgraceful reloading.
* Webapp server → web.js * API server → api.js * Job scheduler → bull.js * Proxy server → proxy.jsFRONT-END
* Browser linting using eslint-plugin-compatand browserslist
(see .browserslistrc for the default config) * Pug template engine (you can easily use Moon, Vue , React
, or Angular ,
though typically you aren't going to need it)
* Gulp (latest version 4.x)* Sass
* PostCSS (with font-magician, import-url
, font-grabber
, base64
, and cssnext
pre-configured)
* Bootstrap
* Font Awesome
* SpinKit
* SweetAlert2
* Dense
* Waypoints
* LiveReload
* Frisbee
* …
BACK-END
* Redis, sessions, and flash toast and modal SweetAlert2 messages (uses ioredis which has support for Cluster, Sentinel
, and more)
* Koa-based webapp and API servers (uses HTTP/2 for production!) * Pagination built-in (using ctx-paginate)
* RESTful API with BasicAuth and versioning * Automated job scheduler with cron and human-readable syntax (backed by Mongoose and Bull)
* Passport-based authentication and group-based (Unix-like)permissioning
* Stripe-inspired error handling * Mongoose and MongoDB with common database plugins * Email template engine with Nodemailerand local rendering
* Proxy eliminates need for Nginx reverse-proxy or Apache virtualhosts
* Multilingual through built-in i18n translation support (seeconfiguration)
* Automatic phrase translation with Google Translate * Sitemap generator for simple SEO* …
TRANSLATION
Finally a framework that solves i18n everywhere; complete with automatic translation. * Translation constants built-in so you don't repeat yourself * Webapp error messages and templates are translated * Emails are translated * API responses are translated * Database errors are translated * Authentication errors are translated* …
EMAIL ENGINE
Our beautiful email engine uses email-templates(which is also
made by the creator of Lad)! * Test your emails locally with automatic browser-rendering on thefly
* Automatically inlines CSS for cross-browser and cross-platform email client support * Use Bootstrap in your email templatedesigns
* Reuse your existing CSS and webapp styling * Use any template engine (defaults to Pug) * Render custom fonts in emails with code * Add icons with Font Awesome with code * Automatically avoid email client caching * Include any image you want and it will be properly rendered * Rids the need for awkward embedded image CID attachments* …
ERROR HANDLING
We've spent a lot of time designing a beautiful error handler. * Supports text/html, application/json, and text response types * User-friendly responses* HTML error lists
* …
See koa-better-error-handlerfor a
complete reference.
PERFORMANCE
* Compression and zero-bloat approach * Stream-based file uploading * Graceful reloading, shutdown, and reconnection handling * Manifest asset revisioning * Amazon S3 and CloudFront ready* …
SECURITY
* Database security plugins and helpers * Automated tests and code coverage * CORS, SameSite set to "lax" (an alternative to CSRF ), CSRF (since not all browsers support SameSite yet) XSS, and rate limited protection * Dotenv support for environment-based configurations * App, user, and request-based logging * SSL-ready (see instructions below)* …
GET STARTED
We strictly support Mac and Ubuntu-based operating systems (Windows_might_ work).
REQUIREMENTS
Please ensure your operating system has the following softwareinstalled:
*
Git - see GitHub's tutorialfor installation
*
Node.js (v10+) - use nvm to install it on any OS * After installing nvm you will need to run nvm install node * We also recommend you install yarn , which is an alternative to npm*
MongoDB (v3.x+):
* Mac (via brew ): brew install mongodb && brew services start mongo*
Ubuntu:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list sudo apt-get update sudo apt-get -y install mongodb-org*
Redis (v4.x+):
* Mac (via brew ): brew install redis && brew services start redis*
Ubuntu:
sudo add-apt-repository -y ppa:chris-lea/redis-server sudo apt-get update sudo apt-get -y install redis-serverINSTALL
npm :
npm install -g ladyarn :
yarn global add ladUSAGE
CREATE A PROJECT
lad new-project
cd new-project
DEVELOPMENT
To begin, try typing npm start (or yarn start) on command line. This will display to you all the scripts you can run. The start script (among many others) uses npsand nps-utils
under the hood. This helps to keep scripts very developer-friendly, and rids the need to write inJSON syntax.
This script accepts aCopyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0