An express api to structure data for soccer tournaments in order to study some recursive variables
GPL-3.0 License
An express api to structure data for soccer tournaments in order to study some recursive variables
npm i
Please make sure to check you environment. We're using in this project dotenv architecture.
Rename the ./src/.env.example
file to ./src/.env
and then set up inside this file environnement settings
Finally Run :
npm run dev
Location | Content |
---|---|
/src/.env |
Environnement settings |
/assets/xlsx |
Document folder |
/src/entity |
Entity files wrote with typeORM decorators |
/src/dump |
DB dump for some tables (alternative for seeders) |
/src/interface |
Interface for some entities |
/src/service |
All services file about each entity |
/src/controller |
All controllers file for each service file |
/src/route |
Routes organized by entity with an index |
/src/middleware |
Middlewares for some routes |
/src/index.ts |
API Entry Point with server configurations |
/src/dto |
DTOs for entities |
/src/conf |
Imported project configurations from an .env file |
Please kindly respect this project architecture in your code maintenance or for eventual pull requests.
https://documenter.getpostman.com/view/23479319/2s8Z6zzC3a
Check inside the /assets/xlsx
folder, there's a dummy xlsx document for your tests named with .xlsx.example
extension.
Please renamme it with .xlsx
extension and use it to tests apis.
Please add descriptions inside readme file to describe each of your changes before making pull request.