Browse Source

Merge remote-tracking branch 'origin/yigit' into yigit

old
Yiğit Çolakoğlu 6 years ago
parent
commit
ba1a0ff159
2 changed files with 5 additions and 0 deletions
  1. +5
    -0
      server_side/api/app.py
  2. BIN
      server_side/api/voting_system/__pycache__/voting_system.cpython-37.pyc

+ 5
- 0
server_side/api/app.py View File

@ -3,6 +3,7 @@ from flask_restful import Resource, Api
from voting_system import voting_system
from rating_system import rating_system
from login import login
from user_info import user_info
from login import login
@ -26,6 +27,10 @@ if __name__ == '__main__':
api.add_resource(rating_system.Rating, '/ratings/<int:rating_id>', '/ratings/<int:rating_id>/')
api.add_resource(rating_system.Rate, '/rate', '/rate/')
api.add_resource(login.Login, '/login', '/login/')
app.run(host='0.0.0.0', port=5000, ssl_context=context)
api.add_resource(user_info.Users, '/users', '/users/')
api.add_resource(user_info.User, '/users/<int:user_id>', '/users/<int:user_id>/')


BIN
server_side/api/voting_system/__pycache__/voting_system.cpython-37.pyc View File


Loading…
Cancel
Save