{"repo":"mangya/node-express-mysql-boilerplate","free":true,"listed":false,"github":"https://github.com/mangya/node-express-mysql-boilerplate","clone":"git clone https://github.com/mangya/node-express-mysql-boilerplate.git","description":"A boilerplate for Node.js web applications with express and MySQL","language":"Handlebars","stars":59,"topics":["node-mysql","node-mysql2","node-boilerplate","sequelize","boilerplate","express","expressjs","nodejs"],"license":"GPL-3.0","category":"saas-starters-boilerplates","readme_excerpt":"Node Web Application boilerplate A boilerplate for Node.js web applications. This boilerplate gives the basic stucture of application start with while bundling enough useful features so as to remove all those redundant tasks that can derail a project before it even really gets started. This boilerplate users Express with sequelize as ORM and MySQL as database. Prerequisites 1. 2. 3. Quick start 1. Clone the repository with git clone https://github.com/mangya/node-express-mysql-boilerplate.git 2. Change directory to your project folder cd 3. Install the dependencies with npm install 4. Create database in MySQL. 5. Update the your database name and credentials in the .env file. 6. Run the application with npm start (MySQL service should be up and running). 7. Access http://localhost:3000 and you're ready to go! Folder Structure Packages used nodemon — tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. bcryptjs — encryption library to hash a password body-parser — Node.js body parsing middleware. Parse incoming request bodies in a middleware before your handlers, available under the req.body property. express-flash — middleware to store flash messages in the session. connect-session-sequelize — SQL session store using Sequelize.js csurf — Middleware for CSRF token creation and validation. Requires session middleware to be initialized first. We have used express-session dotenv — modu","default_branch":null,"files":null,"tree":[],"storefront":"/r/mangya","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mangya/node-express-mysql-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}