This project aims to optimize hotel communication with travel agencies. Instead of sending an email with availability enquiry, partner can check live availability in this app
1.App connects with roomer open api, and generate availability report for requested by user date. 2. User with role admin can sign up new agencies with selected travel rates (if they register themselves the standard rate is applied) 3. User can restore password: a) user clicks forgot password link b) enter valid email that is linked to entry in database c) user receives email with link to reset password
a) forgot password endpoint hit b) router search existing user c) previously bcrypted old password is used as a secret to jsonwebtoken d) nodemailer sends link with jsonwebtoken parameter e) user changes password - so the initially generated link won't work because of secret token mismatch
MERN stack with custom sass styling
- It let save a lot of time for both hotel and clients
- Safe authentication implemented without additional libraries such as Passport.js
- Because roomer api does not have endpoint to directly get availability this app needed to take work around this problem - it collects and modify response to match the requirements