Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing REST API #2 episodes #15

Open
hvitis opened this issue Apr 20, 2020 · 0 comments
Open

Implementing REST API #2 episodes #15

hvitis opened this issue Apr 20, 2020 · 0 comments
Labels

Comments

@hvitis
Copy link
Member

hvitis commented Apr 20, 2020

This issue is about implementing DRF
https://www.django-rest-framework.org/

In order to proceed with the roadmap of running the app with separate fron-end and not monolithic structure we need to start with implementing GET public endpoints.

The app will be used by 2 types of users:

  • Readers/Listeners that should only have GET access and see the content
  • Admin/Owner that should publish and edit.

We can preserve Admin ready to use Django´s Admin panel at
{{URL}}/admin
and proceed with just starting with a READ-only app.

So after adding DRF the endpoints should be created:

GET episodes
GET episodes/

with good practices

https://hackernoon.com/restful-api-designing-guidelines-the-best-practices-60e1d954e7c9
https://swagger.io/blog/api-design/api-design-best-practices/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant