-->
Instagram API
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.
Installation
- Clone the Repo
go get -u github.com/devashar13/instagram-api
Routes
/users
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