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.txtStart the server
python app.pyRunning 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 - josemidev24@gmail.com
- Instagram - @jmdp.02
