An open API service indexing awesome lists of open source software.

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.

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 |