Athens University of Economics and Business (AUEB)
Several Coding Factory @ AUEB Python Projects. 🐍 Django backend projects.
-
- Django REST API (DRF) - JSON - ENDPOINTS
- Connection with SPA(Single Page Application)
-
- DRF - REST API
- Serialization - Deserialization - Serializer - ModelSerializer
- Function/Class Bases API Views
- Browsable API
- Validation Criteria for input
-
- GenericAPIView and Mixins
- Generic Classs Based Views
- REST API for website that provides ebooks 📚
- Permissions system only for users with account
- Users can see a list of available ebooks and add new ebooks 📘
- Users can make a review for a ebook ✍️
-
- Authentication
- REST registration and Authentication (Django-REST-Auth)
- Viewset and Router classes
- DRF filters
- Automated tests with Django and DRF
To install and run a project, follow these steps:
- Clone the repository to your local machine
cd
from the terminal to the project you want to runpython -m venv venv
create python Virtual Environmentsource\Scripts\activate
activate the virtual environmentpip install -r requirements.txt
install dependencies from requirements.txtcd
to the project folder e.g. newsapipython manage.py makemigrations
prepare database for any migration changespython manage.py migrate
to migratepython manage.py createsuperuser
to create a superuser adminpython manage.py runserver
to run the serverhttp://127.0.0.1:8000/
Check the development server at the browser 💻