- NestJS
- Prisma
- MongoDB
- Swagger
- Wizards: CRUD operations for wizards, including creation, retrieval, updating, and deletion. Enables search by first name, last name, or both. Pagination supported.
- Elixirs: CRUD implementation with search functionality based on difficulty and name.
- Spells: CRUD implementation with search functionality based on name. Option to assign spells to wizards, visible in wizard details.
- Swagger Documentation: Endpoints are documented using Swagger.
- Repository with README: Codebase is hosted on a repository with a comprehensive README.md file detailing how to run the app.
- Install Docker and Docker Compose.
- Clone or download the repository.
- Run
cp .env.sample .env
. - Enter the environment variables.
- Run
docker-compose up --build
. - Visit http://localhost:3000/api# to access the Swagger documentation.
- Clone or download the repository.
- Run
cp .env.sample .env
. - Enter the environment variables.
- Add a value to the
DATABASE_URL
(MongoDB). - Run
npm run dev
to start the NestJS app and generate Prisma.