InShorts Backend API

News Article Publishing API made in GoLang.

Recruitment task for Appointy

Task can be found at this link

Installation

Use the GIT to download this API.

git clone https://github.com/amartyaa/AppointyTask

Pre-requisites

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

Usage

Make sure you have MongoDB servers running.

go run server.go

Comments

Third-Party Packages were not allowed thus not using Gorilla MUX. Though Still using httprouter from julienschmidt.

References

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.

Mongo<->Go connection

GitBook provided with the task for reference

Many more websites and articles came to help, can't mention all of them.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.