modulepackage
0.0.0-20230105072533-2014676ffb4e
Repository: https://github.com/eleisonc/schedules-api.git
Documentation: pkg.go.dev
# README
MyDogo Schedules API
This is a Golang Gorilla-Mux API of MyDogo that handles:
- Scheduling
- Creating, reading and deleting of schedule types
- Creating, reading, updating and deleting of schedules
To test the application and get it running, do the following:
- Prerequisite
- Golang
- MongoDB
- A valid userID created from the MyDogo User API
- Install the requirements file for all the dependencies of the application
$ go mod tidy
- Run the application
$ go run main.go
Features
Endpoint | Functionality |
---|---|
POST /createScheduleType | Creates a new schedule type |
GET /getallScheduleTypes | Get all schedule types |
DELETE /deleteScheduleTypes/{scTyID} | Delete a schedule type |
POST /createSchedule | Creates an new schedlue valid ownerId and schedule type required |
PUT /updateschedule/{scID} | Update a Schdeule |
GET /getallschedules/{ownerID} | Get schedules for a user |
GET /getschedule/{ownerID}/{scID} | Get a schedule for a user |
DELETE /deleteschedule/{ownerID}/{scID} | Delete a schedule |
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author