🎄 A robust system for managing holiday operations, responsible for handling business logic and data management.
-
clone this repository
git clone https://github.com/TEAM3-ED8/back-end.git
-
install dependencies
pnpm install
-
create .env file
touch .env
-
write to .env
DATABASE_URL="" -
run the project
pnpm run dev
For detailed technical documentation and specifications for our endpoints, please visit our Technical Documentation. Technical Documentation
├── prisma/ # Prisma database configuration
│ ├── migrations/ # Database migrations
│ ├── schema.prisma # Prisma schema
│ ├── seed.ts # Database seeding
│ └── seed-data.ts # Seed data
├── src/ # Source code
│ ├── config/ # Configuration files
│ │ └── swagger.ts # Swagger configuration
│ ├── controllers/ # Request handlers
│ │ ├── AddressesController.ts
│ │ ├── CardsController.ts
│ │ ├── ChildrensController.ts
│ │ ├── ElvesController.ts
│ │ ├── MembersController.ts
│ │ ├── ReindeerController.ts
│ │ ├── ReindeerOrganizationController.ts
│ │ └── SantaCookiesController.ts
│ ├── models/ # Data models
│ │ ├── ElvesModel.ts
│ │ ├── CardModel.ts
│ │ └── ...
│ ├── routes/ # API routes
│ │ ├── address.routes.ts
│ │ ├── card.routes.ts
│ │ ├── children.routes.ts
│ │ ├── elve.routes.ts
│ │ ├── index.ts
│ │ └── ...
│ ├── utilities/ # Utility functions
│ │ ├── catchedAsync.ts
│ │ ├── cors.ts
│ │ ├── errors.ts
│ │ └── ...
│ ├── app.ts # Express application setup
│ ├── index.ts # Entry point
│ ├── prisma.ts # Prisma client
│ └── swagger.ts # Swagger documentation
├── .env # Environment variables
├── .env.example # Environment variables
├── .gitignore # Git ignore rules
├── eslint.config.js # ESLint configuration
├── package.json # Project dependencies
├── pnpm-lock.yaml # pnpm lock file
├── README.md # Project documentation
└── tsconfig.json # TypeScript configuration
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Team 3 ED8
