generated from Eddie/Backend-Boilerplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
419 B
14 lines
419 B
2 years ago
|
from services import (UserService, UserListService)
|
||
|
from config import app, api, docs, CORS
|
||
|
|
||
|
#*______________ Service Registration ______________
|
||
|
api.add_resource(UserService, '/api/user/<user_id>')
|
||
|
docs.register(UserService)
|
||
|
api.add_resource(UserListService, '/api/list/user')
|
||
|
docs.register(UserListService)
|
||
|
#*______________ Application Creation ______________
|
||
|
if __name__ == '__main__':
|
||
|
app.run(debug=True)
|
||
|
|
||
|
|