DUSocial backend repository.
- Go >= 1.22.1
- A MongoDB Database
- Clone the repository
git clone https://github.com/gdscduzceuniversity/du.git
- Install dependencies
go get
- Run the mongo container
docker run -d -p 27017:27017 --name mongodb mongo
export MONGO_URI=mongodb://localhost:27017
or rename the example.env
file to du.env
and just edit the file with connection url.
go run main.go
Open localhost:8080/ping to check if the server is running.
Distributed under the GPL-3.0 License. See LICENSE for more information.