https://github.com/mehedimk/blog-rest-api-django
Blog Project using Rest API in Django
https://github.com/mehedimk/blog-rest-api-django
django django-rest-framework
Last synced: 3 months ago
JSON representation
Blog Project using Rest API in Django
- Host: GitHub
- URL: https://github.com/mehedimk/blog-rest-api-django
- Owner: MehediMK
- Created: 2022-12-03T15:33:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T17:05:36.000Z (over 2 years ago)
- Last Synced: 2023-05-13T21:51:20.733Z (about 2 years ago)
- Topics: django, django-rest-framework
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Blog Project using Rest API in Django
## Prerequisites
- Python 3.8+
- Virtualenv and Pip## How to Run this Project
- First of all clone this Project
- `cd `
- create a virtual env `virtualenv env`
- For activate env write on you terminal `source env/bin/activate` (*linux) on `env\Scripts\activate` (Windows)
- Install packages `pip install -r requirements.txt`
- For configure `copy "config.py sample" config.py`
- Run on your terminal `python manage.py migrate`
- Run `python manage.py runserver`## Helpful commands
- `python manage.py makemigrations` "for migration"
- `python manage.py makemigrations ` "for migration"
- `python manage.py runserver host:port` "for starting dev. server"
- `python manage.py startapp app_name` "for new app"
- `python manage.py createsuperuser` "For create superuser"