- Clone the repository
- Run
go mod tidy
to install dependencies - Run
go run main.go
to start the server - Open
http://localhost:3000
in your browser
- There is currently no front-end for this project. You can use Postman or Paw to test the API. If you'd like to contribute, please feel free to do so.
- GET /employee
- GET /employee/:id
- POST /employee
- PUT /employee/:id
- DELETE /employee/:id
{
"id": "2345lkjsdfgj3",
"name": "John Doe",
"email": "johndoe@gmail.com",
"age": 45,
"salary": 12353
}
- Go 1.16+
- MongoDB