A demo showcasing a Kivy Python app and a RESTful API for educational purposes. Includes user management, transactions, and logging functionalities. Explore the live demo and learn. Ideal for learning API integration and backend development.
This repository provides a demonstration of a RESTful API and a Kivy-based Python application designed to showcase how to integrate and interact with APIs. The demo application, which is available live here, serves as an educational tool for understanding API integration and basic application development.
You can explore the live demo of the application at: https://zofasoftwares.com/demo
To interact with the API, use the authentication token provided below:
3b408cb48548b5037822c10eb0976b3cbf2cee3bf9c708796bf03941fbecd80f
For a hands-on experience, download and run the demo application executable from the following link:
The API URL is: http://localhost/demo/api
- Endpoint:
api/auth/
- Method: POST
- Request JSON:
{"token": "your_token_here"}
- Success Response:
{"status": "success"}
- Create User:
api/users/create/
(POST) - Read Users:
api/users/read/
(POST) - Update User:
api/users/update/
(POST) - Delete User:
api/users/delete/
(POST) - Find User by Token:
api/users/findtoken/
(POST)
- Create Transaction:
api/transactions/create/
(POST) - Read Transactions:
api/transactions/read/
(POST) - Update Transaction:
api/transactions/update/
(POST) - Delete Transaction:
api/transactions/delete/
(POST)
- Create Log:
api/logs/create/
(POST) - Read Logs:
api/logs/read/
(POST)
For those interested in a PHP and MySQL implementation, use the provided API documentation to set up a local version of the API.
- Clone the repository.
- Install required dependencies using:
pip install -r requirements.txt
- Run the Kivy application:
python app.py
- Authentication: Generate your token by concatenating username and password with '@' and hashing the result using SHA-256.
- API Calls: Use the endpoints provided to interact with the API for user management, transactions, and logging.
Feel free to fork this repository, contribute, and submit pull requests. Your feedback and improvements are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or support, please contact omektk876@gmail.com.
This project is intended for educational purposes and demonstrates basic API and application integration concepts. For more detailed implementation, refer to the provided API documentation and application code.