Skip to content

deepanjan05/celesta-backend-legacy

 
 

Repository files navigation

celesta-backend

API details:

Compousloury API Key, send via post as 'apiKey'

/login

  • POST
    • emailid
    • password
  • JSON Response:
    {
    status: //http status code
    userID: //uid of logged in user in case of successful login
    name : //name
    college : //college
    events: ['event1','event2'],
    message: //message from the server   }

/register

  • POST
    • name
    • emailid
    • password
    • mobile
    • college
  • JSON Response:
    {
    status: //http status code
    message: //message from the server
    }
    Status code:  
    • 200 : successful
    • 500 : DB connect error
    • 409 : Duplicate entry for registration
    • 403 : unauthorised/invalid login
    • 400 : bad request error
    • description of error is in the "message of the JSOn object"

About

Technical Fest of IIT Patna. API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 78.7%
  • CSS 13.4%
  • JavaScript 5.1%
  • HTML 2.1%
  • Shell 0.7%