Skip to content

kkosiorowska/flask-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-application

Database

How to create db.sqlite file

sqlite3 db.sqlite < schema.sql

REST API

Select example

Insert example

  • Add new group

curl -X POST -H "Content-Type: application/json" -d '{ "seansId": "2" }' http://localhost:5000/groups

  • Add new person to group

curl -X POST -H "Content-Type: application/json" -d '{ "groupsId": "1", "usersId": "3" }' http://localhost:5000/participants

Update example

curl -X POST -H "Content-Type: application/json" -d '{ "groupsId": "1", "usersId": "1", "active": "0" }' http://localhost:5000/deleteParticipant

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages