Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.
Install Dependencies.
pnpm installTo run both WebApp and Api server.
pnpm devTo run WebApp Dev Server.
pnpm dev:webTo build WebApp.
pnpm build:webTo run API Server.
pnpm dev:apiThis project is a monorepo with PNPM workspaces. It has three main projects: a web app with React, an API with ExpressJS(Zodios), and a database(SQLite) with Prisma.
.
|-- apps
| |-- web # Web App
|-- packages
| |-- api # Api Server
| |-- db # Database
└── README.md
Set up the database and seed it with default users and roles. You can find instructions for this in the project documentation here.
Once the database is seeded, you can use the following credentials to log in to the web app:
| Sr. | Password | Role | |
|---|---|---|---|
| 1 | [email protected] | 12345678 | ADMIN |
| 2 | [email protected] | 12345678 | USER |