Skip to content

The API that collect any other APIs that the app for the Montemorelos University use.

Notifications You must be signed in to change notification settings

UMMobile/ummobile-api

Repository files navigation

Nest Logo

The API that collect any other APIs that the app for the Montemorelos University use.

Usage

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.

Installation

npm install

Running the app

npm run start

# watch mode
npm run start:dev

Project scaffolding

config

Contains the configuration of the API. Load the environment variables. The file configuration.ts export all the configurations files.

endpoints

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.

service

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.

statics

Contains static information like the types or the rules list. All the types are exported from types.ts.

utils

Module that contains useful functions that are used everywhere.

Stay in touch

About

The API that collect any other APIs that the app for the Montemorelos University use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published