-
Change directory:
$ cd ishaer-api
-
Install dependencies:
$ npm install
-
Run the app:
$ DEBUG=ishaer-api:* npm start
or
env "DEBUG=ishaer-api:**" npm start
NOTE: Remember to create a .env file in the root folder, see .env-example
for more information.
This project was generate with express-generator, see the documentation here
- bin: In this folder we have the start point of our app with the file www.js
- config: This folder is for any configuration file or DB scripts.
- models: Here we can save all the database models.
- public: This is a public folder to save scripts or stylesheets for the templates or views.
- routes: This folder is for the storage of all our routes, we have a index file for the primary routes, and for the future an user routes file.
- scripts: Here we can save differents functions to make our code more clean.
- views: Template folder.