Welcome to CarGoGo, a carpooling service designed to connect drivers and passengers for shared rides. This project focuses on providing a backend service written in GoLang, with PostgreSQL as the underlying database.
CarGoGo is a carpooling service that aims to reduce traffic congestion, lower transportation costs, and promote a more sustainable and efficient way of commuting. The project is currently in its backend-only stage, implemented in GoLang with a PostgreSQL database.
User Authentication: Secure user registration and authentication system. Ride Management: Create, view, and manage ride listings for drivers and passengers. Matching Algorithm: Efficient algorithm to match passengers with drivers based on preferences and routes. Review System: Allow users to provide and view reviews for each other to build a trustworthy community.
You can follow these instructions to get a copy of the project up and running on your local machine for development and testing.
- GoLang is installed on your machine. Visit https://golang.org/dl/ for installation instructions.
- PostgreSQL database installed and running. Visit https://www.postgresql.org/download/ for installation instructions.
Clone the repository:
git clone https://github.com/RahulDhiman93/CarGoGo.git
Change into the project directory:
cd CarGoGo
Install dependencies:
go mod download
go tidy
brew install postgresql@14
brew install gobuffalo/tap/pop
Install DBeaver for GUI
- Run
soda migrate
for up migration. - Make sure PostgreSQL is running.
- Run the application:
./run.sh
. - Visit
http://localhost:8080
with endpoints in Postman to access the CarGoGo API.
Contributions are welcome! Please check the whole project for details on our code of conduct and the process for submitting pull requests.