https://github.com/lucas54neves/school-drf
API for schools using Django Rest Framework
https://github.com/lucas54neves/school-drf
api api-rest api-restful django django-rest-framework drf python study
Last synced: 2 months ago
JSON representation
API for schools using Django Rest Framework
- Host: GitHub
- URL: https://github.com/lucas54neves/school-drf
- Owner: lucas54neves
- License: mit
- Created: 2021-07-22T23:12:30.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-19T15:14:18.000Z (almost 5 years ago)
- Last Synced: 2025-10-10T07:38:02.607Z (9 months ago)
- Topics: api, api-rest, api-restful, django, django-rest-framework, drf, python, study
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# school-drf
API for schools using Django Rest Framework
## Main commands
### Install venv
```
python3 -m venv venv
```
### Activate venv
```
source venv/bin/activate
```
### Install dependencies
```
pip install
pip install -r requirements.txt
```
### Create the project
```
django-admin startproject .
```
### Create a app
```
django-admin startapp
```
### Start server
```
python manage.py runserver
```
### Create migrations
```
python manage.py makemigrations
```
### Run migrations
```
python manage.py migrate
```
### Create superuser
```
python manage.py createsuperuser
```
### Create requirements file
```
pip freeze > requirements.txt
```