News Article Publishing API made in GoLang.
Task can be found at this link
Use the GIT to download this API.
git clone https://github.com/amartyaa/AppointyTask
These packages must be downloaded/installed for this code to run successfully
go get go.mongodb.org/mongo-driver
go get github.com/julienschmidt/httprouter
Make sure you have MongoDB servers running.
go run server.go
Third-Party Packages were not allowed thus not using Gorilla MUX. Though Still using httprouter from julienschmidt.
With no knowledge of GoLang two days ago, this code was made in less than 48 hours. Thanks to these links from where I learned and implemented codes to make this task happen in time.
GitBook provided with the task for reference
Many more websites and articles came to help, can't mention all of them.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.