PayZap is an end-to-end payment wallet clone built using the MERN stack (MongoDB, Express.js, React.js, Node.js). It allows users to sign up, sign in, view their dashboard, and conduct money transfers with real-time balance updates.
- Navigate to the backend directory -
cd backend
- Install dependencies by running
npm install
. - Create a
.env
file and add your MongoDB connection URL. Example:MONGODB_URI=your_mongodb_connection_url
. - Start the backend server by running
node index.js
.
- Navigate to the frontend directory -
cd frontend
- Install dependencies by running
npm install
. - Start the frontend development server by running
npm run dev
.
MongoDB
: Database for storing user information and account balances.Express.js
: Backend framework for handling API requests.React.js
: Frontend library for building user interfaces.Node.js
: JavaScript runtime environment for running the backend server.Vite
: Build tool used for setting up the project quickly.JWT
: JSON Web Token for user authentication.Axios
: HTTP client for making API calls.Tailwind CSS
: Utility-first CSS framework for styling the frontend.React Router DOM
: Library for declarative routing in React applications.