Skip to content

A basic version of an RESTful Instagram Backend API in HTTP JSON

Notifications You must be signed in to change notification settings

suriya-1403/Instagram-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram-API

The task is to develop a basic version of aInstagram. You are only required to develop the API for the system. Below are the details.

You are required to Design and Develop an HTTP JSON API capable of the following operations,

  1. Create an User
    1. Should be a POST request
    2. Use JSON request body
    3. URL should be ‘/users'
  2. Get a user using id
    1. Should be a GET request
    2. Id should be in the url parameter
    3. URL should be ‘/users/’
  3. Create a Post
    1. Should be a POST request
    2. Use JSON request body
    3. URL should be ‘/posts'
  4. Get a post using id
    1. Should be a GET request
    2. Id should be in the url parameter
    3. URL should be ‘/posts/’
  5. List all posts of a user
    1. Should be a GET request
    2. URL should be ‘/posts/users/'

    Additional Constraints/Requirements:

    1. The API should be developed using Go.
    2. MongoDB should be used for storage.
    3. Only packages/libraries listed here and here can be used.

    Output ScreenShots

    image image image image image image image