Skip to content

snlucas/dj_exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Django Exercises

Django Exercises!

How to Run:

You can use Docker or run through your own environment.

🐋 Using Docker:

(Unavailable for now)

$ docker build -t dj_exercises:latest .
$ docker run -it dj_exercises:latest

💻 Using Your Local Environment:

First, create and activate a virtual environment:

$ python3 -m venv .venv
$ . .venv/bin/activate

Install dependencies:

$ pip install -U pip -r requirements.txt

Run tests:

$ python manage.py test
$ # or python manage.py test some_app

Run app:

$ python manage.py runserver

🚀 List of Exercises

  1. Bookstore CRUD API with DRF:

    Details Method
    Create a Book POST
    Read all the Books GET
    Update a Book PUT
    Delete a Book DELETE
  2. Use HTMX with the last one exercise;

  3. Apply authentication to the Bookstore;

  4. Reuse Django Admin;

  5. Use JWT in the Bookstore;

  6. In Bookstore use File Upload to get data from a spreadsheet;

  7. Make an ETL with the Bookstore;

  8. Create a Password Vault App;