Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oguzsh/django-angular-project
Django Rest API and Angular 8 project
https://github.com/oguzsh/django-angular-project
angular angular8 api django django-rest-framework
Last synced: 24 days ago
JSON representation
Django Rest API and Angular 8 project
- Host: GitHub
- URL: https://github.com/oguzsh/django-angular-project
- Owner: oguzsh
- Created: 2020-03-30T11:08:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:55:54.000Z (almost 2 years ago)
- Last Synced: 2024-05-17T15:26:25.979Z (6 months ago)
- Topics: angular, angular8, api, django, django-rest-framework
- Language: JavaScript
- Size: 4.7 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Simple Rest Api Project
## Setup
### Create a virtual environment to isolate our package dependencies locally
1. Create venv
`python -m venv env`2. Activate venv
- On Linux use :
`source env/bin/activate`- On Windows use :
`env\Scripts\activate`
### Install Django and Django REST framework into the virtual environment
- `pip install -r requirements.txt`### Migrate Database
- `cd apiProject`
- `python manage.py migrate`### Admin Panel
username : admin
password: admin123If you want create a new super user :
`python manage.py createsuperuser --email [email protected] --username admin`### Start Server
`python manage.py runserver`