The backend system for Booking.com, developed with Node.js, incorporates Express for efficient request handling and routing. Multer is used to streamline file upload processes, ensuring seamless integration of multimedia content. Prisma ORM connects the application to Supabase/PostgreSQL, facilitating sophisticated database interactions with a straightforward API. This architecture supports reliable data management, secure user interactions, and efficient booking workflows, offering a comprehensive backend solution for a dynamic and user-friendly booking platform.
- Nodejs
- Typescript
- Express.js
- Multer
- Prisma ORMs
- Supabase/PostgreSQL
- @supabase/supabase-js
- If you are using Supabase make sure to configure the code in controller section and configure the supabase bucket for the same.
- /api/v1/user/register (POST): Creates a new user account.
- /api/v1/user/login (POST): Authenticates a user and returns a token for secure access.
- /api/v1/user/ (GET): Retrieves the currently logged-in user's profile information.
- /api/v1/user/ (PUT): Updates the information of the current user Logged In.
- See
contributing.md
for more information and setting up.