A web app that facilitates residents of NIT Kurukshetra with Autopooling services based on destination
- Frontend: React
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: Auth0
Before you begin, ensure you have the following installed:
- Node.js
- npm
- MongoDB
-
Clone the repository:
git clone https://github.com/your-username/kurukshetra-taxi-pooling.git cd kurukshetra-taxi-pooling
-
Set up environment variables:
Create a
.env
file in thebackend
directory and add the following values:DB=<your-database-connection-string> PORT=<your-desired-port>
Create a
.env
file in thefrontend
directory and add the following value:REACT_APP_BACKEND_URL=<your-backend-url>
-
Install dependencies:
Backend:
cd backend npm install
Frontend:
cd ../frontend npm install
-
Start the backend server:
cd backend npm run dev
-
Start the frontend application:
cd ../frontend npm start
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.
Contributions are welcome! Please open an issue or submit a pull request for any changes.