Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This project contains basic structure for node.js and it was implementing with libraries for best practices of develop.

NotificationsYou must be signed in to change notification settings

ofaaoficial/nodejs-mysql-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project contains basic structure for node.js and it was implementing with libraries for best practices of develop.

Libraries 🛠️

  • 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.

Installation 📥

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.

Database 💾

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

License 🔥

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp