A repository for Mini Project of Cloud Computing, 6th Sem, Computer Science, PES University.
- Install the npm modules from
package.json
. - Use
npm start
to begin. - Visit at http://localhost:8000.
This serves as the starting point of the Express App server. It attaches route path modules from api/routes.
This is the starting module of the routes module. Each specific set of related paths are available in their .js
files.
Each module contains the paths of controllers that are related to it.
This folder contains all the path's functions which are related to one another. Each .js
file contains functions that are required by its path.
-
If it belongs to main, add the path in
api/routes/main.js
and then its controller inapi/controllers/mainController.js
. -
If it does not belong to main, add a new
.js
file under api/routes (take main.js as example) and then its function in a separate controller under api/controllers.
It helps keeping the code clean, and having related code together.
Check out the branches to view the assignments and the final project