Node api with express mysql sequelise
To get started with this api follow the steps below
$ git clone https://github.com/Livingston-k/Blog-app-api
$ cd Blog-app-api
$ yarn install- Note that is project is using mysql database.
- create a database forexample blog_system
- In the project directory go to config/config.json and edit the database configurations to match your setup
- To migrate the database tables run :
npx sequelize-cli db:migrate
$ yarn start- In the project main directory ceate a file name .env and put the following
JWT_SECRETE = "put any string here to act as your jwt secret"