- clone the project on your local
- Execute 'pm install on the same path as of your root directory of teh downloaded project
- Create a .env file in the root directory and add the following environment variable PORT=3000
- Inside the src/config folder create a new file "config.json" and then add the following piece of json
{
"development": {
"username": "YOUR DATABASE NAME",
"password": "YOUR DATABASE PASSWORD",
"database": "Flights_Search_DB_DEV",
"host": "127.0.0.1",
"dialect": "mysql"
}
}
- Now go to src and run
npx sequelize db:create