/officegram-go-backend

Instagram api in go for appointy test

Primary LanguageGo

OFFICEGRAM : Instagram API in Go

This is the submission of hiring task for Appointy by:

Gunjan Raj Tiwari

19BCE2642

My Experience

I heard a lot about Go as it is quite popular but never got a chance to explore it. Today I learned Go from full scratch and went from basic syntax to completing this task in just one day. All thanks to Appointy for this opportunity.

Implemented Features

  • Create an User
  • Get a user using id
  • Create a Post
  • Get a Post using id
  • List all Posts of a user
  • Password Hashing
  • Pagination
  • Few Unit tests
  • Consistent identifiers
  • Used only standard library and given mongodb driver
  • Requests and responses are all handled in JSON

Room for improvements

  • Divide code into smaller modules
  • More code coverage with unit tests
  • Learn and Implement best practices

Everything got placed in a single file due to time constraints 😅😅