Skip to content

bitz0x75/farmsale_backend

Repository files navigation

FarmSale API

Setup

Use go version 1.10 due to a known issue with mongo-driver

Routes

Credentials

  1. Admin
{
"email": "admin@user.com",
"password": "user12345"
}
  1. User
{
 "email": "user@user.com",
 "password": "user12345"
 }
  1. Agent
{
"email": "agent@user.com",
"password": "user12345"
}
  1. Manager
{
"email": "manager@user.com",
"password": "user12345"
}

Public Routes

GET https://farmsaledev.herokuapp.com/api/v1

User authenticated route

GET https://farmsaledev.herokuapp.com/api/v1/auth/products

Admin Routes

GET https://farmsaledev.herokuapp.com/api/v1/admin

Manager Routes

GET https://farmsaledev.herokuapp.com/api/v1/manager

AgentRoutes

GET https://farmsaledev.herokuapp.com/api/v1/agent

WORKING DEMO

https://farmsaledev.herokuapp.com/api/v1/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published