Skip to content

Govind-Jangra/Real-Time-Taxi-pooling-system-based-on-Locality-scaling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A web app that facilitates residents of NIT Kurukshetra with Autopooling services based on destination

Table of Contents

Technologies Used

  • Frontend: React
  • Backend: Node.js, Express
  • Database: MongoDB
  • Authentication: Auth0

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • npm
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/kurukshetra-taxi-pooling.git
    cd kurukshetra-taxi-pooling
  2. Set up environment variables:

    Create a .env file in the backend directory and add the following values:

    DB=<your-database-connection-string>
    PORT=<your-desired-port>
    

    Create a .env file in the frontend directory and add the following value:

    REACT_APP_BACKEND_URL=<your-backend-url>
    
  3. Install dependencies:

    Backend:

    cd backend
    npm install

    Frontend:

    cd ../frontend
    npm install

Running the Application

  1. Start the backend server:

    cd backend
    npm run dev
  2. Start the frontend application:

    cd ../frontend
    npm start

Authentication

Set up Auth0 for authentication by following the official Auth0 documentation. Ensure you have the required configuration in place in the frontend for seamless user authentication.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.