- Notifications
You must be signed in to change notification settings - Fork0
ofaaoficial/nodejs-mysql-crud
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project contains basic structure for node.js and it was implementing with libraries for best practices of develop.
- npm - Management of packages and tools.
- node.js - Runtime environment.
- express - Infrastructure of development for web.
- express-session - Create session for share with middlewares and save data in stored server-side.
- express-handlebars - Template engines of views.
- mysql - Driver for mysql.
- express-mysql-session - Create a database table to save session data.
- express-validator - Validate and sanitize data for express.js.
- morgan - HTTP request logger middleware.
- nodemon - Tool that helps develop applications by automatically restarting the node.js applications.
- passport - Authentication middleware for node.js.
- passport-local - Lets you authenticate using a username and password in your node.js applications.
- connect-flash - Used for storing message, message are written to the flash and cleared after being displayed.
- timeago.js - Plugin that make it easy to support automatically updating fuzzy timestamps.
Beforeinstalling, download and install Node.js Node.js 0.10 or higher is required.
Install modules and libraries required
$ npm install
To execute this project you needmysql.
You can install service of mysql directly in your machine or install a local server for example.
Once executed mysql service you needcreate database named 'crud_books'
and import.sql file
located in folderdb-dump/crud_books.sql
.
To run this project execute
$ npm run dev
Copyright © 2019-presentOscar Amado 🧔
About
This project contains basic structure for node.js and it was implementing with libraries for best practices of develop.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.