FlatPay is a full-stack web application that allows users to add other users, send and request money, and manage transactions on a social platform. The application includes a Python Flask backend with a SQLAlchemy ORM for managing the database and a React frontend for user interaction.
- User Management: Add other users, manage your account, and interact with friends.
- Transactions: Send and request money, view transaction history, and manage payments.
- Authentication & Authorization: Secure user sessions with integrated authentication and authorization.
- Backend: Python, Flask, SQLAlchemy ORM
- Frontend: React
- Database: SQLite (or your preferred database)
- Package Manager: pipenv (for Python dependencies), npm (for Node.js dependencies)
- Python 3.x
- Node.js and npm
- pipenv
-
Clone the repository:
git clone https://github.com/yourusername/FlatPay.git cd FlatPay -
Install Python dependencies:
pipenv install
-
Activate the pipenv shell:
pipenv shell
-
Initialize the database:
cd server flask db init flask db migrate flask db upgrade
-
Navigate to the client directory:
cd ../client -
Install Node.js dependencies:
npm install
-
Start the React application:
npm start
The application will run on
http://localhost:3000.
- Accessing the Application: Open your browser and go to
http://localhost:3000. - Authentication: Sign up or log in to start using FlatPay.
- Managing Transactions: Add friends, send money, request payments, and view your transaction history.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the open-source community for their amazing tools and libraries.
- Special thanks to everyone who contributed to the development of FlatPay.