CashCrack is a basic Paytm clone application that allows users to trade dummy currency values with other registered users on the platform. Built with React.js, TypeScript, and Express.js, CashCrack provides a seamless interface for users to manage and trade virtual funds.
- User Registration and Authentication: Securely sign up and log in to the platform.
- Dummy Currency: Users are credited with virtual currency for trading.
- Trade System: Trade virtual currency with other registered users.
- Responsive UI: A clean, responsive user interface built with React.js.
- Frontend:
- React.js
- TypeScript
- Vite
- Backend:
- Express.js
- TypeScript
- Database:
- MongoDB
- Other Tools:
- Zod for validation
- JWT for authentication
CashCrack/
├── backend/
│ ├── dist/
│ ├── node_modules/
│ ├── src/
│ │ └── ... (API and server files)
│ ├── .env
│ ├── package.json
│ ├── package-lock.json
│ ├── tsconfig.json
│ ├── tsconfig.tsbuildinfo
│
├── frontend/
├── node_modules/
├── public/
├── src/
│ └── ... (React components and TypeScript files)
├── .env
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── README.md
├── tsconfig.app.json
├── tsconfig.json
├── vite.config.ts
Make sure you have the following installed on your system:
- Node.js (v16 or above)
- npm or yarn
- MongoDB
-
Clone the Repository:
git clone https://github.com/yashvikram30/CashCrack.git cd CashCrack
-
Backend Setup:
cd backend npm install
Create a
.env
file in thebackend
directory with the required environment variables:PORT=5000 DB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
Start the backend server:
npm run dev
-
Frontend Setup:
cd ../frontend npm install
Create a
.env
file in thefrontend
directory with the required environment variables:VITE_API_URL=http://localhost:3000
Start the frontend development server:
npm run dev
-
Access the Application: Open your browser and navigate to
http://localhost:5173
.
We welcome contributions to improve CashCrack! Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
- Inspired by Paytm and similar digital payment platforms.
- Built with passion for learning and development.