Skip to content

AliIsawi/decoded-sequelize-tutorial

This branch is up to date with derduskenga/decoded-sequelize-tutorial:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

df5f4f0 · Nov 2, 2020

History

10 Commits
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020
Nov 2, 2020
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020

Repository files navigation

decoded sequelize tutorial

Install Node and MySQL in your computer.

Clone the project repository by running the command below:

# using SSH
git clone [email protected]:derduskenga/decoded-sequelize-tutorial.git
# using HTTPS
git clone https://github.com/derduskenga/decoded-sequelize-tutorial.git

After cloning, run:

Run: npm install

create a .env file in project root directory and provide values of the following:

    DB_USERNAME=
    DB_PASSWORD=
    DB_NAME=
    DB_HOST=
    API_PORT=

Run the following command to create your database tables

Run: npx sequelize-cli db:migrate

Optionally, run the folowind command to add some fake tables to your database table.

npx sequelize-cli db:seed:all

About

decoded sequelize tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%