This project is a simple CRUD API, for a netflix-like web app. The database used in MongoDB Atlas.
-
Clone the repo
git clone https://github.com/Kawaljeet2001/CRUD-Golang-API.git
-
Create your
.env
file and add theMONGODB_URI
andPORT
environment variables. -
Type
go get
to get all the packages required -
Run the main file in the root directory to start the server
go run main.go