The API that collect any other APIs that the app for the Montemorelos University use.
This project will not run without the rigth variables declared in the .env
file.
You will have to request to the project leader the .env
file to work in the development environment.
npm install
npm run start
# watch mode
npm run start:dev
Contains the configuration of the API. Load the environment variables. The file configuration.ts
export all the configurations files.
Contains all the sections of the API. Each directory inside contains a controller, module & a service file. Also can contains a dto
, entities
& tests
directories.
The services make the request to the other APIs.
The controllers contains the endpoints that receive the requests. Use the services to return the response.
Contains the services used in differents modules.
acaAuth
: Get an academic token to use it for the academic services.guards
: Contains the guards to authorize the endpoints.http
: Contains the individual custom HTTP modules for the different services.
Contains static information like the types or the rules list. All the types are exported from types.ts
.
Module that contains useful functions that are used everywhere.
- Author - Jonathan Gomez