Welcome to the Authentication System, built using Node.js and React!
-
Clone the Repository: Begin by cloning the repository to your local machine:
git clone https://github.com/theatulanand/g-auth-app
-
Navigate to the Project Directory: Move to the root directory of the project and install the necessary dependencies:
npm install
-
Install Client Dependencies: Navigate to the client directory and install the required dependencies:
cd client npm install
- Set Up Environment Variables: Create a
.env
file in the root directory and add the following variables:JWT_SECRET="<Your JWT Secret>" DB_URI="<Your MongoDB URI>"
-
Build Client: Before starting the application, build the client:
npm run build
-
Start the Server: Launch the application by running the following command in the root directory:
npm start
-
Access the Application: Once the server is up and running, access the application through your browser.
This project is live! You can access the Live Demo here.
- Secure Authentication: Utilizes JWT tokens for secure authentication.
- MongoDB Integration: Seamlessly integrates with MongoDB for efficient data storage.
- Client-Server Architecture: Built with a client-server architecture using React for the front end and Node.js for the backend.
Feel free to reach out if you have any questions or need further assistance!