This project is a full-stack web application that provides user management functionalities including user signup, signin, and profile updates. It uses a Node.js backend with Express for routing and MongoDB for data storage. The frontend is built with React, providing a responsive user interface.
- Node.js: Runtime environment for the backend.
- Express: Web application framework for Node.js.
- MongoDB: NoSQL database used to store user data.
- Mongoose: ODM (Object Data Modeling) library for MongoDB and Node.js.
- jsonwebtoken: Library to issue JSON Web Tokens for user authentication.
- Zod: Library for building validation schemas.
- POST /signup: Registers a new user.
- POST /signin: Authenticates a user and returns a token.
- PUT /: Updates user profile information.
- GET /bulk: Fetches user data based on a filter.
- React: Library for building the user interface.
- Axios: Promise based HTTP client for making requests to the backend.
- Dashboard: Displays user information and balance.
- Signup: Allows new users to register.
- Login: Allows existing users to log in.
- Node.js
- MongoDB
- Clone the repository.
- Install dependencies:
cd backend && npm install cd ../frontend && npm install
- Start the backend server:
cd backend && npm start
- Start the frontend application:
cd frontend && npm start
Contributions are welcome! Please feel free to submit a pull request.
- Links redirect
- if logged, redirect to dashboard //protectedrOUTES
- logout
- after successful payment, redirect to dashboard.