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

https://github.com/fabritsius/five-vk-friends

Demo Django server with VK OAuth Authorization
https://github.com/fabritsius/five-vk-friends

backend django python python3

Last synced: about 2 months ago
JSON representation

Demo Django server with VK OAuth Authorization

Awesome Lists containing this project

README

          

# Five VK Friends

Demo Django server application with VK OAuth Authorization.

[Visit the App](https://five-vk-friends.herokuapp.com)

## Usage

Running this project locally involves a lot of steps and I don't recommend it.

Required conditions:

- set `VK_CLIENT_ID` and `VK_CLIENT_SECRET` environment variables
- you can't run this project using `localhost` because VK API needs a url
- set `SERVER_DOMAIN` to your domain (I used `ngrok` to get a temporary domain)
- add your domain in VK App Settings
- set `SERVER_SECRET_KEY` to anything long and secure
- remove lines `32` and `136` in `five_friends/settings.py` (I decided not to make a special branch)

Launch the server:

- run `python manage.py runserver`