This MERN (MongoDB, Express.js, React, Redux, Node.js & Tailwind) authentication app provides a solid foundation for building secure and scalable web applications. It is based on the project by Brad Traversy and serves as a comprehensive example of implementing user authentication.
- User registration with secure password hashing
- User login with token-based authentication
- Protected routes for authorized users
- User profile management
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- MongoDB installed and running
- React development environment set up
-
Clone the repository:
git clone https://github.com/ingberrio/appointment.git
-
cd appointment
-
cd client npm install cd ../server npm install
-
create your .env in the root
MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
-
npm run dev
Usage . Register a new user. . Log in with your credentials. . Access protected routes. . Update your profile information.
Contributing Contributions are welcome! Feel free to open an issue or submit a pull request.
License This project is licensed under the MIT License - see the LICENSE.md file for details.