The goal of this project is to convert/refactor the code from the previous task to Typescript
To run or test this code ensure you have Node installed in your system and a MongoDB account
-
Pull this repo to your local machine
-
Rename the
example.envfile to.envand put the link to your MongoDB with the password as instructed on the mongoDB website -
Run the following code to
npm run serveand use any of the link in the Postman software to test it
Email and a password that contains 8 characters and user type which is guest by default if not added
room name
room name, room_type (which will be the id of the roomtype) and price