Skip to content

This is the login api client which fetches the user's login request via communicating with OCS login server.This api client database is powered by Supabase, allowing the the database to remotely accessed by the api client.

Notifications You must be signed in to change notification settings

Sudarshan50/OCS-API-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCS API CLIENT


  • To install the node depedencies please run the following command in your terminal:-
npm i
  • To run the api client run the following command in terminal:-
node api.js

API Documentaion

  • To login with the client use postman to generate post request since the user is entering sensetive information I have used url encoded param data form
To login use this:-
  • Format should be like this:-
    • user: xyz
    • pass: xyz
  https://apiclient.onrender.com/api/login
To register the user use this:-
  • Format should be like this:-
    • user: xyz
    • pass: xyz
    • role: basic/admin
  https://apiclient.onrender.com/register

About

This is the login api client which fetches the user's login request via communicating with OCS login server.This api client database is powered by Supabase, allowing the the database to remotely accessed by the api client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published