This repository contains a simple event scheduling system implemented in Fastify framework. The system allows users to create, view, and manage events with specific dates and times.
- CRUD operations for events
- User authentication and authorization
- API documentation with Swagger
- Node.js (v14 or higher)
- pnpm package manager
-
Clone the repository:
git clone <repository-ur>
-
Navigate to the project directory:
cd event-scheduling-system -
Install dependencies using pnpm:
pnpm install
-
Start the development server:
pnpm dev
-
Create a
.env.dockerfile in the root directory and configure the necessary environment variables (you can find an example in.env.example). -
Build and run the Docker containers using Docker Compose:
docker compose up -d --build
-
To view the logs of the application, use:
docker compose logs -f app