Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amalashkevich committed Feb 26, 2015
1 parent 78546d3 commit 7dae47d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
In this example we use a simplified diagram of an university: https://editor.ponyorm.com/user/pony/University.

In order to check the example you need to launch file index.py using the following command: python index.py. Then open the url http://localhost:5000 in your browser. You need to have Flask and Pony installed. (pip install flask; pip install pony)

In this single page application we get all departments, groups and courses from the server at once. Then you can click any department and see related groups and courses. Once you click to a group or course, a separate request will be sent to the backend which will get all students for the selected group or course. You can modify values of the objects and click Save button. In this case the updated attributes will be sent to the backend and saved in the database.

0 comments on commit 7dae47d

Please sign in to comment.