mv .env.example .env
to copy the env example to a real .env;- Go to .env file and configure your MySQL connection;
npm install
oryarn install
to install all needed libraries;npx sequelize db:migrate
oryarn sequelize db:migrate
to set the database with its columns and fields;npm start
oryarn start
to start the server;- If you want to undo the database creation:
npx sequelize db:migrate:undo
oryarn sequelize db:migrate:undo
;
-
Notifications
You must be signed in to change notification settings - Fork 0
christopherldo/node-devsnotes-api
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Node version of devsnotes-api