An open API service indexing awesome lists of open source software.

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

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"