This webapp provides all mess related things at one place.
- Install
NodeJS - Clone this repo using
git clone https://github.com/sameeryadv/mess-webapp.git - Open terminal at type
npm install. - Then run
node app.js
- Fork this repo.
- Make change.
- Make Pull request.
Below are APIs take POST request in x-www-form-urlencoded.
-
/authenticate/generateOTP: if we will send request to this then it will generate otp and send it to the user. It takerollas parameter. it will give two type of{status: true}for successful otp sent or{status:false}on some error. -
/authenticate: it will take two paramsrollandotp. it will give two type of response{authenticated:true,id:id}if otp is correct orauthenticated:falseif otp is not correct or otp has expired or any other server error