ParasSolanki / Travel-App

Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

  pnpm install

Run Locally

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

Project Strcture

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. Email Password Role
1 admin@mail.com 12345678 ADMIN
2 user@mail.com 12345678 USER

About

Travel Management App (Admin Panel), where the admin can manage users, destinations, hotels, pickup points, and agents with all bookings.


Languages

Language:TypeScript 98.1%Language:CSS 1.3%Language:JavaScript 0.4%Language:HTML 0.2%