use python manage.py runserver
to run server at http://127.0.0.1:8000/
METHOD GET
- URL /api/tour/
METHOD GET
- URL /api/news/
METHOD POST
- URL /api/review/
- Param: {"user": id_user, "content": "text of content", "tour": id_tour}
METHOD POST
- URL /api/like/
- Param: {"user": id_user, "news": id_news}
METHOD POST
- URL /api/comment/
- Param: {"user": id_user, "content": "text of content", "news": id_news}
METHOD POST
- URL /api/rating/
- Param: {"user": id_user, "star": number_of_star, "tour": id_tour}
METHOD GET
- URL /api/all-comment/<id_news>
METHOD GET
- URL /api/all-like/<id_news>
METHOD GET
- URL /api/all-review/<id_tour>
METHOD GET
- URL /api/all-rating/<id_tour>