This basic project is a Rest API developed with the Python Flask framework, which also uses an SQLite database that stores tasks and uses the SQLAlchemy ORM.
- Clone the repo and change "my-project" to your project name.
git clone https://github.com/josemiguel02/my-api-rest-flask.git ./my-project
- Go to the project directory
cd my-project
- Install dependencies
pip install -r requirements.txt
Start the server
python app.py
Running on: http://localhost:5000
GET /todos
POST /create
GET /todo/<id>
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of task |
PUT /edit/<id>
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of task |
DELETE /delete/<id>
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of task |
- Gmail - [email protected]
- Instagram - @jmdp.02