EasyCardBackend is a backend service designed to support the EasyCardGUIDesktop application. This API provides endpoints for user authentication, credit card management and card extraction functionalities using artificial intelligence.
- User Authentication: Provides endpoints for user login and signup.
- Credit Card Management: Offers endpoints to create, retrieve, update, and delete credit card information.
- Card Extraction: Allows users to extract credit card numbers from images through dedicated endpoints.
- User Login: POST -
http://localhost:5000/api/auth/login - User Signup: POST -
http://localhost:5000/api/auth/signup - Verify API Key: GET -
http://localhost:5000/api/auth/verify
- Create New Card: POST -
http://localhost:5000/api/cards - List All Registered Cards: GET -
http://localhost:5000/api/cards - Create All New Card: POST -
http://localhost:5000/api/cards/all - Extract Card Number: POST -
http://localhost:5000/api/cards/extract - Update Card: PATCH -
http://localhost:5000/api/cards/:publicId - Delete Card: DELETE -
http://localhost:5000/api/cards/:publicId - Get Card by ID: GET -
http://localhost:5000/api/cards/:publicId
- Python 3.12.*
- Install PDM
git clone https://github.com/Macktireh/EasyCardBackend.gitcd EasyCardBackendpdm installBefore running the EasyCardBackend service, ensure that the database configurations are set up correctly. You can configure the database connection details in the config/settings.py file.
Additionally, make sure to create a .env file based on the provided example file .env.example. You can copy the contents of .env.example and save it as .env, then update the variables with your actual values.
pdm run devThe server will start running at http://localhost:5000 🚀.
This project is licensed under the MIT License.