Skip to content

nvlinh99/sequelize-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequelize x Express

Explore: Sequelize - Express - Migrations - Seed

Base on: Sequelize + Express Starter Guide

Installation

First of all

  • Clone my repo
$ git clone https://github.com/nvlinh99/sequelize-express.git
$ npm install

Next,

  • Config database
$ cd config/config.json

*** Edit development:
    "development": {
        "username": <your username>,
        "password": <your pwd>,
        "database": <your database name>,
        "host": "127.0.0.1",
        "dialect": "postgres"
    }
* Field "dialect" you can use another database such as: mysql, mongodb,...

And then,

  • Run app:
$ npm start

Finally,

  • Use Postman to test (GET/POST)

Releases

No releases published

Packages

No packages published