Formal documentation and contributing for this api can be found here
├── src/
│ ├── config/
│ ├── index.ts
│ └── api/
│ ├── controllers/
│ ├── middlewares/
│ ├── routes/
│ ├── services/
│ └── validation/
├── package.json
├── __tests__/
└── ...
__tests__/
: hold all jest unit test cases for each route fileroutes/
: holds all route files that dictate url api e.g api/v1/module will call routes/module.routes.tscontrollers/
: holds all functions that are called for a specific http verb for each routemiddlewares/
: contains functions that are called before a client accesses the route's function e.g authservices/
: third party resources the api usesvalidation/
: used to validate input from the client to ensure strict equalitypackage.json
: holds dependencies and scriptsindex.ts
: main file where server starts
- Have npm 6.14.x installed
- node version 14.x installed
- .env file from administrators
- Clone the Project
git clone https://github.com/edugator-cise/edugator-staff-backend.git
- Copy path of env file to root directory of project
cp /path/to/env/.env /path/to/project
- install packages
npm install
- run development server on port 8080
npm run dev
npm run test
npm run checklist
© Copyright 2021 University of Florida Research Foundation, Inc. All Commercial Rights Reserved.