Sawari-Anurag is a full-stack MERN project that facilitates carpooling services. It allows drivers to publish rides, and passengers can request rides. Based on these requests, drivers can accept or reject rides. The project utilizes MongoDB as the database, React for the frontend, and Node.js with Express for the backend.
Inside the server folder, create a config.env
file with the following details:
NODE_ENV=development
PORT=3000
USERNAME="Your username"
DATABASE="Link of your MongoDB Atlas database connection"
DATABASE_PASSWORD="Your password"
JWT_SECRET="Your secret key"
JWT_EXPIRES_IN=90d
JWT_COOKIE_EXPIRES_IN=90
-
Clone the Repository:
git clone <repository-url>
-
Install Dependencies:
cd Sawari-Anurag npm install
-
Start the Development Server:
npm start
-
Open in Browser: Navigate to http://localhost:5173 in your browser to view the application.
- MongoDB: NoSQL database for data storage.
- Express.js: Web application framework for Node.js.
- React: JavaScript library for building user interfaces.
- Node.js: JavaScript runtime environment.
- JWT: JSON Web Tokens for authentication.
- Axios: Promise-based HTTP client for making requests.
- dotenv: Module for loading environment variables from a
.env
file.
Contributions to Sawari-Anurag are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please contact Anurag at anuraggaiwal0gmail.com.