This is a full-stack web application that implements user authentication using JSON Web Tokens (JWT). The application uses the MERN (MongoDB, Express, React, and Node.js) stack for its development.
Before you begin, make sure you have the following software installed on your computer:
- Node.js and npm (Node Package Manager)
- MongoDB
- Clone the repository to your local machine:
- Navigate to the root directory of the project:
- Install the dependencies:
- Start the MongoDB service:
- Start the development server:
-
Visit
http://localhost:3000
in your web browser to access the web application. -
Register a new account by clicking the "Sign Up" button and filling out the form.
-
Login to your account by entering your email and password.
-
You can now access protected page.
- React: A JavaScript library for building user interfaces
- Node.js: An open-source, cross-platform, back-end JavaScript runtime environment
- Express: A fast and minimalistic web framework for Node.js
- MongoDB: A cross-platform document-oriented database program
- JSON Web Tokens (JWT): A compact, URL-safe means of representing claims to be transferred between two parties
Contributions are welcome! If you find a bug or want to request a new feature, please open an issue. If you want to contribute code, fork the repository, make your changes, and submit a pull request.