NeoPay is a mockup full-stack web application that provides a seamless experience for transferring of funds securely. It leverages technologies such as ReactJS, Tailwind CSS, MongoDB, ExpressJS, and JWTs to offer a robust and efficient platform for managing transactions.
- User Authentication: Users can sign up and sign in securely to access their accounts.
- Dashboard: A centralized hub where users can manage their transactions, view balances, and perform various operations.
- Payment: Users can initiate payments to other users within the platform.
- Payment Confirmation: Confirmation page ensures secure transactions and provides users with peace of mind.
- Frontend: ReactJS, Tailwind CSS
- Backend: MongoDB, ExpressJS
- Authentication: JSON Web Tokens (JWTs)
- Clone the repository:
git clone https://github.com/abhishekthomasv/neopay.git
- Navigate to the project directory:
cd neopay
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Navigate to the backend directory:
cd backend
- Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the frontend directory. - Define the following variables:
VITE_BASE_URL=your_server_base_url
- Create a
.env
file in the backend directory. - Define the following variables:
URI = "mongodb+srv://<username>:<password>@beyondthebasics.abcde.mongodb.net/neoPay" JWT_SECRET = "YOURJWTSECRETKEY"
- Create a
-
Start the development server:
node index.js
- host the client on localhost:
npm run dev
- POST
/api/v1/user/signup
: Register a new user. - POST
/api/v1/user/signin
: Authenticate and log in a user. - GET
/api/v1/user/me
: Retrieve current user's data. - POST
/api/v1/account/transfer
: Initiate a payment. - GET
/api/v1/user/bulk
: Filter and retrieve other user's data
Contributions are welcome! Feel free to open issues or submit pull requests.
- Special thanks to the developers of ReactJS, Tailwind CSS, MongoDB, ExpressJS, and JWTs for their amazing tools and libraries.
- Abhishek Thomas Varghese https://github.com/abhishekthomasv