- Clone the repository:
git clone https://github.com/Efamamo/Task-Management-mongoDB
- Change to the project directory:
cd Task-Management-go
Before running the application, ensure you have a MongoDB instance running. Update the database connection string in data.go
where it is set with:
clientOptions := options.Client().ApplyURI("your-mongodb-connection-string")
Replace "your-mongodb-connection-string"
with your actual MongoDB connection string.
To run the application, use the following command:
go run .