Skip to content

Paradise, a travel booking site designed for trekking enthusiasts. This project features three distinct panels for Admin, Manager, and User roles, allowing for efficient management and booking of trekking plans. Admin and Manager have access to plan management, while Users can book trekking plans.

Notifications You must be signed in to change notification settings

sneh2102/Paradise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Paradise - Trekking Travel Booking Site

Welcome to Paradise, a travel booking site designed for trekking enthusiasts. This project features three distinct panels for Admin, Manager, and User roles, allowing for efficient management and booking of trekking plans. Admin and Manager have access to plan management, while Users can book trekking plans.

Sneak Peek

Here's a preview of what the Paradise travel booking site looks like:

Application Interface

Application Overview

Plans

Plans Plan detail

Admin Panel

Admin Panel Overview Admin Panel Overview

Table of Contents

  1. Project Overview
  2. Features
  3. Dependencies
  4. Installation & Setup

Project Overview

Paradise is a MERN stack-based travel booking platform designed for trekking. It allows administrators to create, activate/deactivate, manage plans, set prices, manage dates, and create discount coupons. Managers can manage plans but cannot create new ones. Users can browse and book available plans for trekking.

Features

  • Admin Panel:

    • Create new trekking plans.
    • Activate/Deactivate plans.
    • Update plan details (price, dates, etc.).
    • Manage discount coupons.
  • Manager Panel:

    • Manage existing trekking plans.
    • Cannot create new plans but can perform other administrative tasks.
  • User Panel:

    • Browse and book trekking plans.
    • Apply discount coupons.

Dependencies

Backend

Colors Cors Dotenv Express Firebase Admin MongoDB Validator

Frontend

Axios Bootstrap Firebase History jQuery React React Bootstrap React DOM React Hook Form React Router DOM React Scripts

Installation and Setup

Paradise requires Node.js to run.

Install the dependencies and devDependencies and start.

Frontend

# client
cd Paradise/Frontend/
npm install
npm start

Backend

# server
cd Paradise/Server/
npm install

Environment variables

Before starting, the servers must set up some environment variables on both the Paradise/Frontend and Paradise/Server.

Frontend

Enter all variables in the Frontend/.env.local file.

Variables Description
REACT_APP_FIREBASE_APIKEY Firebase api key
REACT_APP_FIREBASE_AUTHDOMAIN Firebase auth domain
REACT_APP_FIREBASE_PROJECTID Firebase project ID
REACT_APP_FIREBASE_STORAGEBUCKET Firebase storage bucket
REACT_APP_FIREBASE_MESSAGINGSENDERID Firebase messaging sender ID
REACT_APP_FIREBASE_APPID Firebase APP ID
REACT_APP_SERVER_BACKEND_API_URL Server side URL of birdseye

Backend

Enter all variables in the Server/.env file.

Variables Description
PORT Port number for local
LOCAL_URI MongoDB uri for local
DEV_URI MongoDB uri for development
PRODUCTION_URI MongoDB uri for production
FIREBASE_SERVICE_ACCOUNT_INFO Firebase service account information

About

Paradise, a travel booking site designed for trekking enthusiasts. This project features three distinct panels for Admin, Manager, and User roles, allowing for efficient management and booking of trekking plans. Admin and Manager have access to plan management, while Users can book trekking plans.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published