Skip to content

This basic project is a Rest API developed with the Python Flask framework.

Notifications You must be signed in to change notification settings

josemiguel02/my-api-rest-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API REST with Flask, SQLAlchemy and SQLite

Table of Content

About The Project

Demo

Description

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.

Built With

flask

sqlite

Installation

  1. Clone the repo and change "my-project" to your project name.
  git clone https://github.com/josemiguel02/my-api-rest-flask.git ./my-project
  1. Go to the project directory
  cd my-project
  1. Install dependencies
  pip install -r requirements.txt

Usage

Start the server

  python app.py

Running on: http://localhost:5000

API Reference

Get all tasks

  GET /todos

Create task

  POST /create

Get single task

  GET /todo/<id>
Parameter Type Description
id string Required. ID of task

Edit task

  PUT /edit/<id>
Parameter Type Description
id string Required. ID of task

Delete task

  DELETE /delete/<id>
Parameter Type Description
id string Required. ID of task

Contact

About

This basic project is a Rest API developed with the Python Flask framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published