Go-Mongo Project: 1 - Build a Microservice in Go for an application

Application is about people solving problems and getting rated. You have to implement API operations as defined in the code provided. Please add the lines of code only in the designated code block as indicated using comments in each of the files. Any code added outside the designated lines may not work as it is intended to, for us.


All data to be stored in Mongo collections :-

- “users” - models/[login to view URL]

- “problems” - models/[login to view URL]


All relevant models are in models/

All operations are in operations/

Ignore hubs/ and other folders. Ignore all [login to view URL] files.

**Bonus if you are able to figure out and write proper test cases. But it’s not mandatory **


1. Register ([login to view URL]):

This operation will take input username and password, creates a new user, and returns a logged in user. It will also generate a JWT token with user_id and user_name, which will be saved in the header with key “jwt”. The sugar for encryption is passed as argument.

2. Login ([login to view URL]):

This operation will take input username and password, checks credentials, and logs in the user by setting the JWT token with user_id and user_name. Similar to register operation.

3. Me ([login to view URL]):

This operation will return current logged in User. Logged-in user_id is already being fetched from the token. Refer to validation.go.

4. Update Profile ([login to view URL]):

Update user with following fields. All are optional, if not supplied or empty don’t update it. (Name/Email/Phone/password). On Success return “AukaatResponse” with appropriate status.

5. Add Problem ([login to view URL]):

Add the given problem to DB. Return “AukaatResponse” appropriately.

6. List Problems ([login to view URL]):

List Problems returns all the problems in the DB

7. Edit Problem ([login to view URL]):

Edit the given problem(ID). Return “AukaatResponse” appropriately.

8. Get Problem ([login to view URL])

Return the problem as specified by the ID.


1. Depending on tasks, you might only get paid on meeting complete requirements. Please verify that you understand requirements clearly before starting out.

2. Our team of senior developers will review the code, and this may take up to a week. The money will be released once the code has been approved by them. We may suggest changes to the code, and/or review the contract in extreme cases.

3. Prefer to work with individual freelancers.

Навыки: Golang, MongoDB, HTTP

Показать больше: microservices with golang and docker, golang mongodb example, golang mongodb query builder, golang & mongodb, mgo vs mongodb go driver, golang microservices example github, microservices with mongodb example, golang mongodb docker, access project application run application exe, build hrms web based application, build tcp client server application, build sip client web application, build java script poker application, build rest api j2ee application, build google map web application, estimate build simple crud web application, build stand along access application, build internet information iphone application, goal project creation villa booking web site application, tfs build integration testing dcom application

О работодателе:
( 1 отзыв ) Mumbai, India

ID проекта: #27120757

3 фрилансеров(-а) готовы выполнить эту работу в среднем за ₹10204


Hi, I can help you to finish the go API with MongoDB. Let me know if you are interested, then we can discuss.

₹12000 INR за 2 дней(-я)
(1 отзыв)

Hi, I have a two years of experience in golang and MongoDB and I started my carrier with these stack. Check my github account to know my works : [login to view URL] previous project : - Больше

₹11111 INR за 4 дней(-я)
(0 отзывов(-а))

Hello I have experience in development with Go Lang, I also programmed with Go in this job [login to view URL], I can do a remote demo by sharing my screen In general I have mor Больше

₹7500 INR за 7 дней(-я)
(0 отзывов(-а))