Skip to content

User & Channel blog app with follow, like, bookmark, file uploading. #Django #DRF

Notifications You must be signed in to change notification settings

peynaj/mochannel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User & Channel blog REST app with follow, like, bookmark, file uploading by DRF (Django REST Framework) in relational database (sqlite or postgresql) and authentication by JWT

Requirements

  • python3
  • virtualenv
  • sqlite or postgresql

Instalation

$ git clone GIT_REPO
$ cd GIT_REPO
$ virtualenv --python=python3 env
$ source env/bin/activate
$ pip3 install -r requirements.txt

Settings

Copy sample settings

$ cp mochannel/settings.sample.py mochannel/settings.py

Fill settings

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'your-secret-key'

# Database
DATABASES = {
    ...
}

JWT_AUTH = {
    ...
}

Deployment

$ source env/bin/activate
$ python3 manage.py runserver 0.0.0.0:8000

API swagger document

localhost:8000:/api-doc/

About

User & Channel blog app with follow, like, bookmark, file uploading. #Django #DRF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published