https://github.com/andrekovac/django-poetry-basic-api
Movies App created during the GA Django course
https://github.com/andrekovac/django-poetry-basic-api
Last synced: about 2 months ago
JSON representation
Movies App created during the GA Django course
- Host: GitHub
- URL: https://github.com/andrekovac/django-poetry-basic-api
- Owner: andrekovac
- Created: 2022-04-14T16:46:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-15T11:00:40.000Z (about 3 years ago)
- Last Synced: 2023-08-08T02:44:11.705Z (almost 2 years ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Most basic Django API
Most basic Django backend (with a music theme) which just returns a simple JSON response.
The JSON response can be reached at
## Run
1. Clone the repo.
2. Make sure you have [poetry](https://python-poetry.org/) (python environment and dependency manager) installed.
3. In the project folder run `poetry install` to install dependencies.
4. Run `poetry shell` to open a new shell with all dependencies available.
5. Run `python manage.py runserver`
6. Go to to view the JSON response## Concepts
### URL patterns
See `albums/urls.py` and `backend/urls.py`
### Data returning view
See `albums/views.py`
## Re-create this project
Check out [HOW_TO.md](./HOW_TO.md) to see how this project got created step-by-step