https://github.com/workdone0/flask_api
https://github.com/workdone0/flask_api
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/workdone0/flask_api
- Owner: workdone0
- Created: 2020-02-14T18:15:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:04:38.000Z (over 3 years ago)
- Last Synced: 2025-12-27T01:42:22.824Z (6 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flask_api
* This is a CRUD api.
* To use :- clone this repo and create a virtual environment inside the directory, you can do this without creating a virtual environment but it is recommended.
* install the required packages by running this command "pip install -r /path/to/requirements.txt", you will find the requirement.txt when you will clone this repo.
* After installing the packages initialize database.
* To initialize database,follow these steps
- run python command in terminal where you have app.py file
- write the following command "from app import db"
- then write "db.create_all()"
- If everything goes write you will see an db.sqlite file
* use POSTMAN to create different kind of requests like POST,GET,PUT,UPDATE. To learn go to postman official website and find their documentation.