/node-express-sequelize

Node JS | Express | Sequelize

Primary LanguageJavaScript

node-express-sequelize

Node.js

To work on this task, you need to install Node.js first. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.

Instructions

  • Download Node.js from here and install it.
  • Clone this repo.
  • Run this command inside repo folder, from yout terminal. This command work for installing all dependencies.
    $ npm install
  • After you installed all the dependencies, run this command.
    $ npm run dev
  • Open your browser, and access to http://localhost:3000
  • If you installed correctly, you can see a page like this. Congrats! Screenshot
  • Navigate to routes/users, uncomment all commented line.
  • Navigate to controllers/users, write some code for register, login, edit and delete. You can see list API for example.
  • If you done, push to this repo with your name as a branch name.

Hints

Documentation Links
Node.js https://nodejs.org/en/
Express https://expressjs.com/
Sequelize http://docs.sequelizejs.com/