Backend project for Coderhouse.
Steps to install and run the project:
-
Clone the project
git clone https://github.com/diaslucia/proyecto-backend
-
Open your current directory project
cd proyecto-backend
-
Install the libraries
npm install
-
Ejecute the app
npm run dev
The file structure is:
- middleware: to store middleware used in routes to verify requests.
- routes: to store all different routes for endpoints.
- views: to store handlebars.
- public: to store styles and js used to manage handlebars.
- dao/managers: to store mongoose data managers.
- dao/models: to store mongoose data models.