https://github.com/parassolanki/travel-app
Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.
https://github.com/parassolanki/travel-app
expressjs prisma reactjs sqlite tailwindcss tanstack-query tanstack-table typescript zodios
Last synced: 8 months ago
JSON representation
Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.
- Host: GitHub
- URL: https://github.com/parassolanki/travel-app
- Owner: ParasSolanki
- Created: 2023-10-03T14:06:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T16:17:27.000Z (over 2 years ago)
- Last Synced: 2025-04-04T10:51:21.425Z (about 1 year ago)
- Topics: expressjs, prisma, reactjs, sqlite, tailwindcss, tanstack-query, tanstack-table, typescript, zodios
- Language: TypeScript
- Homepage:
- Size: 755 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Travel App
Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.
## Installation
Install Dependencies.
```bash
pnpm install
```
## Run Locally
To run both WebApp and Api server.
```bash
pnpm dev
```
To run WebApp Dev Server.
```bash
pnpm dev:web
```
To build WebApp.
```bash
pnpm build:web
```
To run API Server.
```bash
pnpm dev:api
```
## Project Strcture
This project is a monorepo with PNPM workspaces. It has three main projects: a web app with [React](https://react.dev), an API with [ExpressJS](https://expressjs.com/)([Zodios](https://www.zodios.org/)), and a database([SQLite](https://www.sqlite.org/index.html)) with [Prisma](https://www.prisma.io/).
```
.
|-- 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](https://github.com/ParasSolanki/Travel-App/tree/main/packages/db#setup-and-seed-database).
Once the database is seeded, you can use the following credentials to log in to the web app:
| Sr. | Email | Password | Role |
| --- | -------------- | -------- | ----- |
| 1 | admin@mail.com | 12345678 | ADMIN |
| 2 | user@mail.com | 12345678 | USER |