/
-src/
index.js //server
models/
controllers/
middlewares/
services/
utils/
config/
-tests [later] we dont upload on server
-static/
temp/
(all the models in one folder, all the controllers in one folder ...)
-flights models controllers ... -search models controllers ----
- clone the project on your local machine
- execute
npm install
on the same path as of your root directory of the download project -create a.env
file in the root directory and add the following environment variablePORT=3000
-inside thesrc/config
folder create a new fileconfig.json
and then add the following piece of json
{
"development": {
"username": "<your db login name>",
"password": "<your db p/w>",
"database": "Flights_Search_DB_DEV",
"host": "127.0.0.1",
"dialect": "mysql"
}