Skip to content

devashar13/instagram-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • go

Installation

  1. Clone the Repo
go get -u github.com/devashar13/instagram-api

Routes

/users
  • Query Parameters
POST
{
    "name":"Name",
    "email":"name@gmail.com",
    "password":"password"
}

Password Hashing Algorithm Used: SHA256

GET
/users/<userid>
POST
/products
POST
{
    "user":"userid",
    "caption":"caption",
    "imageurl":"imageurl"
    
}

Time is set to the time of upload

GET
/products/<productid>
GET
/products/users/<userid>

or To paginate

GET
/products/users/<userid>?limit=2

Testing

go test

About

Instagram api written in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages