REST API built with Express and Sequelize
-
Make sure you've installed
Database(any DB that is supported by Sequelize)GitNode.jsnpmsequelize-cli
-
Create
.envfile containing your database credentials, you can check the template in.env-template. -
Setup commands
git clone https://github.com/dmtrxw-demos/node-rest-api.git cd node-rest-api/ npm install sequelize db:create sequelize db:migrate -
Running the app
npm run dev
That's it! You should see something like this on your Terminal:
REST API listening on port 3000