Temp Money App is a learning project that showcases the use of the MERN stack (MongoDB, Express, React, Node.js) along with several dependencies. This application simulates a basic money transfer system, providing functionalities like user signup, signin, balance check, and money transfer.
- Frontend deployed on Vercel
- Backend deployed on Render
- User Authentication (Signup, Signin, Logout)
- View User Balance
- Search and Send Money to Other Users
- Protected Routes
- Node.js
- Express
- MongoDB (Mongoose)
- JWT for Authentication
- Zod for Schema Validation
- Helmet for Security
- CORS for Cross-Origin Requests
- Rate Limiting
- React
- React Context API for State Management
- React Router for Routing
- Axios for HTTP Requests
- Styled Components for Styling
- Tailwind CSS for Utility-First Styling
- React Loading Skeleton for Loading Placeholders
- Node.js
- npm or yarn
- MongoDB
-
Clone the repository and navigate to the backend directory:
git clone https://github.com/yourusername/temp-money-app.git cd temp-money-app/backend -
Install dependencies:
npm install
-
Create a
.envfile in the backend directory and add your environment variables:DB_URL=your_mongodb_connection_string JWT_SECRET=your_jwt_secret PORT=3000
-
Start the backend server:
npm start
-
Navigate to the frontend directory:
cd ../frontend -
Install dependencies:
npm install
-
Create a
.envfile in the frontend directory and add your environment variables:REACT_APP_API_URL=http://localhost:3000/api/v1
-
Start the frontend development server:
npm run dev