https://github.com/himanegi/hitch-hike-2.0
Hitch Hike 2.0 is a web application designed to connect drivers and passengers looking for rides. It aims to reduce the environmental impact of individual car travel by encouraging carpooling and sharing rides.
https://github.com/himanegi/hitch-hike-2.0
carpool dijkstra express haversine html-canvas mongodb nextjs nodejs nominatim
Last synced: 7 months ago
JSON representation
Hitch Hike 2.0 is a web application designed to connect drivers and passengers looking for rides. It aims to reduce the environmental impact of individual car travel by encouraging carpooling and sharing rides.
- Host: GitHub
- URL: https://github.com/himanegi/hitch-hike-2.0
- Owner: himanegi
- Created: 2024-04-23T15:02:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T14:33:38.000Z (over 1 year ago)
- Last Synced: 2025-01-07T15:37:07.296Z (over 1 year ago)
- Topics: carpool, dijkstra, express, haversine, html-canvas, mongodb, nextjs, nodejs, nominatim
- Language: JavaScript
- Homepage: https://hitchhike2.vercel.app
- Size: 3.32 MB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hitch-hike-2.0
Hitch Hike 2.0 is a web application designed to connect drivers and passengers looking for rides. It aims to reduce the environmental impact of individual car travel by encouraging carpooling and sharing rides.
## Features
- Search for Rides: Users can search for rides based on their source and destination. The app will find the most suitable rides for them, considering factors like date, time, and route.
- Share Rides: Drivers can share their travel details, including the route they're taking, date, time, and a message for passengers. This allows passengers to join the ride if it fits their schedule and route.
- Manage Trips: Users can manage their trips, categorizing them into "Riding" and "Driving". The "Riding" section lists rides they've joined, while the "Driving" section includes rides they've created and any requests they've received from other users.
## Screenshots

_Login Page_

_Ride Sharing_

_Dashboard_
## Built With
### Frontend Technologies
- [Next.js](https://nextjs.org/) - React framework for server-side rendering
- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework
### Backend Technologies
- [Node.js](https://nodejs.org/) - JavaScript runtime
- [Express.js](https://expressjs.com/) - Web application framework for Node.js
### Database
- [MongoDB](https://www.mongodb.com/) - NoSQL database
### Mapping and Location Services
- [Mapbox](https://www.mapbox.com/) - Maps and location data platform
- [Nominatim](https://nominatim.org/) - Open-source geocoding and address search
- [OpenStreetMap](https://www.openstreetmap.org/) - for providing map data
### Spatial Analysis
- [Turf.js](https://turfjs.org/) - JavaScript library for spatial operations
### Tools
- [VS Code](https://code.visualstudio.com/) - Code editor
- [Git](https://git-scm.com/) and [GitHub](https://github.com/) - Version control
## Getting Started
### Prerequisites
This project uses MongoDB as database. please install mongodb server in local environment.
### Run Locally
Clone the project
```bash
git clone https://github.com/himanegi/hitch-hike-2.0.git
```
Go to the project directory
```bash
cd project-directory
```
Install dependencies
```bash
cd backend
npm install
cd ../frontend
npm install
cd ../
npm install
```
Start the backend server
```bash
cd backend
npm start
```
Start the frontend client
```bash
cd frontend
npm run dev
```