
This sourse code is just for refercence and understanding purpose. It is not like exact what we developed . If you want exact source code you can message me directly
Create a new React application named client in the showroom project. Run npm start to launch frontend on localhost:3000 and edit src to add an h1 tag for hot reloading.
Explore configuring a MongoDB database with Atlas and Compass, create a database and collection, and establish a mongoose connection with use unified topology for the application.
Create a Mongoose room model for the hotel booking app, defining name, max count, phone number, type, rent per day, facilities, images, current bookings, and description.
Import room data into a MongoDB rooms collection for the MERN stack hotel booking app, allowing the home page to display available rooms and lay groundwork for the admin panel.
Designs the homescreen by fetching all rooms from the backend, handling loading and error states, and rendering a reusable room component within a responsive bootstrap grid.
Implement a room modal popup on the home screen using react bootstrap, displaying the room name, description, and a carousel of images with show and close controls.
Create register and login front-end screens in react with name, email, password, and confirm password, using hooks and bootstrap styling on routes /register and /login.
Create the booking model and backend flow using a Mongoose schema for room, room type, user, from date, to date, total amount, transaction id, and status, with Stripe checkout integration.
Build and finalize room booking endpoints in a MERN stack app by sending booking details from the front end and updating the room's current bookings with dates formatted using moment.
Filter rooms by current bookings to hide unavailable options when dates are selected, update the room list, and use moment.js to compare from and to dates.
Implement and refine a three-part room filtering system (data, search, and type filters) for the hotel booking app, enabling all, deluxe, or non-deluxe room filtering and live search.
React is an open-source front-end JavaScript library for building user interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser
Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js.
MERN is one of several variations of the MEAN stack (MongoDB Express Angular Node), where the traditional Angular.js frontend framework is replaced with React.js. Other variants include MEVN (MongoDB, Express, Vue, Node), and really any frontend JavaScript framework can work.
Express and Node make up the middle (application) tier. Express.js is a server-side web framework, and Node.js the popular and powerful JavaScript server platform. Regardless of which variant you choose, ME(RVA)N is the ideal approach to working with JavaScript and JSON, all the way through.
In this course, you will learn the following topics
Working with Complex topics in React Node,
Booking Rooms,
Cancel Bookings
Adding Rooms data to Database,
Edit Rooms after adding,
Stripe Payment Gateway Integration,
User Dashboard,
Admin dashboard,
Manage Users, Rooms, Bookings from the Admin panel
Pushing Code to Github,
Hosting application in Heroku
By the end of the course, you will know how to work with complex apps without REDUX including the payment gateway.
24/7 Q/A Support.