This is a Node.js web application written in TypeScript that manages employee shifts. The app allows users to create shifts and view them in a calendar. It consists of:
- Backend: NestJS (with Prisma ORM)
- Frontend: Vue.js 3
- Database: PostgreSQL
- Hosting: Docker
- API Documentation: The API documentation is created using Bruno and can be found here.
- Create employee shifts
- View shifts on a calendar
- API endpoints to manage and retrieve shifts
- Backend: NestJS (TypeScript, Prisma ORM, PostgreSQL)
- Frontend: Vue.js 3
- Database: PostgreSQL
- Containerization: Docker
Make sure you have the following installed:
- Docker & Docker Compose
- Clone the repository:
git clone https://github.com/sutuioncode/shifts.git cd shifts
- Configure environment variables
- Create a
.env
file inside theshifts/backend
folder and set up your database connection:DATABASE_URL=postgresql://postgres:postgres@database:5432/shifts
- Create a
.env
file inside theshifts/frontend
folder:VITE_API_URL=http://localhost:3000
- Create a
- Run the application:
- Build the application
docker compose up -- build
- Start the application at
http:\\localhost:8080
TBA
MIT License