This is a NestJS application for event management. It includes features such as scheduling, caching, email notifications, and more. The project uses Prisma as an ORM, Redis for caching, and integrates WebSockets for real-time communication.
Before you begin, ensure that you have the following installed:
- Node.js (version 18 or higher)
- NestJS CLI (optional but recommended)
- Redis (for caching)
- Prisma (for ORM)
- Yarn (optional, if you prefer Yarn over npm)
- Clone the repository:
git clone https://github.com/HazratAliii/event-management.git cd event-management - Install dependencies: Using npm:
npm installOr using Yarn:
yarn install- Set up your environment variables:
Create a .env file in the root directory. Add necessary environment variables
- Set up Prisma migrations:
- Run Prisma migrations;
npx prisma migrate devTo run the application in development mode with live reload:
npm run start:devOr using yarn:
yarn start:devhttp://localhost:(yourport)/api for instance if your port is 5000 the route will look like this http://localhost:5000/api