Welcome to the Payment System Backend repository! This Node.js application is built using Express, Prisma with MySQL as the database, and integrates with the dLocal payment gateway. It provides a robust and flexible platform for managing payments and related functionalities.
- Complete user authentication system to secure access to the system.
- User roles and permissions for fine-grained access control.
- Comprehensive logging system for tracking and monitoring application activities.
- Logs are collected to facilitate debugging, analysis, and auditing.
- Organize products using a category system for better product management.
- Create, update, and delete product categories as needed.
- Manage products, including adding new products, updating existing ones, and deleting products.
- Associate products with categories for better organization.
- Place orders, view order history, and manage order status.
- Secure payment processing through the dLocal payment gateway.
- Support for order customization and special instructions.
- Support for running multiple customers within the same environment.
- Isolate customer data and settings to ensure data integrity and security.
- Easily manage and switch between different customer accounts.
Follow these steps to set up and run the Payment System Backend on your local environment:
- Clone this repository:
git clone https://github.com/hlatki01/payments-system-backend.git
cd payment-system-backend
- Install dependencies:
npm install
-
Configure your environment variables: Create a .env file in the project root and specify your configuration settings, including database connection details and dLocal API keys.
-
Set up the database schema:
npx prisma migrate dev
- Seed the database:
npm run seed
- Start the application:
npm run dev
The Payment System Backend should now be up and running on your local machine.
For detailed information on available API endpoints and how to use them, refer to the API Documentation (WIP).
We wholeheartedly welcome contributions to enhance the Payment System Backend. Whether you're interested in addressing bugs or introducing exciting new features, your contributions are highly valued and encouraged.
This project is licensed under the MIT License.
If you have any questions or need assistance, feel free to open an issue.
Thank you for using the Payment System Backend! We hope it helps streamline your payment management process.