Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.
Install Dependencies.
pnpm install
To run both WebApp and Api server.
pnpm dev
To run WebApp Dev Server.
pnpm dev:web
To build WebApp.
pnpm build:web
To run API Server.
pnpm dev:api
This 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 | admin@mail.com | 12345678 | ADMIN |
2 | user@mail.com | 12345678 | USER |