go back  34 - Build a Simple API With Django REST Framework




This challenge write-up first appeared on PyBites.

Life is about facing new challenges - Kostya Tszyu

Hi Pythonistas, a new week, a new 'bite' of Python programming! We love Django (#100DaysOfDjango) and Web APIs. Django REST framework combines the two. "Now is better than never." - let's jump right in and let's use this week's code challenge to build a simple API. In this article some ideas what we can build and links to resources to get started. Have fun and don't forget to share (PR) your work, we can learn a lot from each other. Enjoy!

The Challenge

Building something is the best way to learn a new technology. We hope you find a longtime need for which DRF is a good fit. If you lack inspiration though here are some ideas:

Bonus points:

  • Add good test coverage.
  • Get authentication right.
  • Deploy your work to Heroku.
  • Build a tool the PyBites community can actually use.

Resources

Get credit!

Take notice: the coolest working apps get a place under the #100DaysOfDjango project on our projects page!

See our INSTALL doc how to fork our challenges repo to get cracking.

This doc also provides you with instructions how you can submit your code to our community branch via a Pull Request (PR). We will feature your PRs in our start-of-the-week challenge review (previous editions).

Feedback

If you have ideas for a future challenge or find any issues, open a GH Issue or reach out directly.

Last but not least: there is no best solution, only learning more and better Python. Good luck!


Keep Calm and Code in Python!

-- Bob and Julian