Skip to content

kayprogrammer/socialnet-v1

Repository files navigation

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