Welcome to UserIO, a web application built using the MERN stack (MongoDB, Express.js, React.js, Node.js) to provide users with a seamless experience for signing up and logging in.
- User Registration: Users can easily sign up for an account by providing necessary details.
- User Login: Registered users can securely log in to their accounts.
- User Authentication: Ensures the security and integrity of user accounts.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
Before you begin, ensure you have the following installed on your machine:
- Node.js
- MongoDB
- Git
-
Clone the repository:
git clone https://github.com/Firdous19/USERIO.git
-
Navigate to the project directory:
cd userio
-
Install dependencies:
cd frontend npm install
cd backend npm install
-
Create a
.env
file in the root directory and configure the following environment variables:PORT=5000 MONGO_DB_URL="mongodb+srv://Firdous:WwTYkle3Zqtg5HyV@cluster1.vuafqov.mongodb.net/MERN" JWT_SECRET=your_secret_key
-
Replace
your_secret_key
with a secure key for JWT token generation.
-
Start the backend server:
cd backend npm run dev
-
Start the frontend:
cd frontend npm run dev
The app should now be running at http://localhost:5173
.
- Open your web browser and navigate to
http://localhost:5173
. - Sign up for a new account or log in if you already have an account.
- Explore the features and functionalities of UserIO.
Thank you for using UserIO! We hope you find it useful and enjoy using our web application.