Skip to content

ProgrammingHero1/bistro-boss-client-with-auth

Repository files navigation

Bistro Boss Client with Authentication

Bistro Boss is a comprehensive restaurant management website built using the MERN stack (MongoDB, Express.js, React with Vite, and Node.js). This application aims to streamline restaurant operations, providing an intuitive interface for managing reservations, orders, menus, and staff. This version includes authentication features to enhance security and user management. Server Repo Link

New Packages Used

react-hook-form

  • Version: ^7.19.5
  • Description: A performant, flexible, and extensible form library for React, providing easy-to-use hooks for handling form state and validation.

sweetalert

  • Version: ^2.1.2
  • Description: A beautiful and responsive replacement for JavaScript's alert, used to enhance user experience by providing custom alerts for login and registration events.

react-simple-captcha

  • Version: ^1.0.5
  • Description: A simple and customizable captcha component for React applications, used to prevent DDOS attacks by verifying human users during the authentication process.

What We Did Today

  • Created Login and Registration Page: Designed and developed pages for user login and registration to facilitate secure user access.
  • Created Form for Authentication Using React Hook Form: Implemented authentication forms using react-hook-form for efficient form handling and validation.
  • Added Captcha for Preventing DDOS Attack: Integrated react-simple-captcha to add a captcha to the authentication forms, ensuring protection against automated attacks.
  • Implemented Sweetalert for Login and Registration Events: Used sweetalert to provide user-friendly and visually appealing alerts for successful and failed login/registration attempts.
  • Added Validation with Regex: Applied regular expressions for robust validation of user inputs during registration and login processes.
  • Updated User Profile After Successful Login: Implemented functionality to update and display user profile information upon successful login.

Getting Started

Clone the repository to explore and analyze the full code. You have to replace your own credintial on .env.local

git clone https://github.com/ProgrammingHero1/bistro-boss-client-with-auth.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages