kayprogrammer / socialnet-v1

A Realtime Social networking API built with django rest framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SOCIALNET V1

alt text

DJANGO DOCS: Documentation

DJANGO REST FRAMEWORK DOCS: Documentation

PG ADMIN: Documentation

How to run locally

  • Download this repo or run:
    $ git clone git@github.com:kayprogrammer/socialnet-v1.git

In the root directory:

  • Install all dependencies
    $ pip install -r requirements.txt
  • Create an .env file and copy the contents from the .env.example to the file and set the respective values. A postgres database can be created with PG ADMIN or psql

  • Run Locally

    $ python manage.py migrate 
    $ uvicorn socialnet.asgi:application --reload
  • Run With Docker
    $ docker-compose up --build -d --remove-orphans

OR

    $ make build
  • Test Coverage
    $ pytest --disable-warnings -vv

OR

    $ make test

Docs

Swagger: Documentation

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

About

A Realtime Social networking API built with django rest framework

License:MIT License


Languages

Language:Python 76.9%Language:HTML 16.1%Language:Shell 5.4%Language:Perl 1.2%Language:Makefile 0.2%Language:Dockerfile 0.2%