https://github.com/kayprogrammer/socialnet-v2
A Realtime Social Networking API built with Django Ninja Rest Framework
https://github.com/kayprogrammer/socialnet-v2
django django-ninja docker pgadmin postgresql
Last synced: 26 days ago
JSON representation
A Realtime Social Networking API built with Django Ninja Rest Framework
- Host: GitHub
- URL: https://github.com/kayprogrammer/socialnet-v2
- Owner: kayprogrammer
- License: mit
- Created: 2023-10-10T19:21:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T22:17:17.000Z (about 1 year ago)
- Last Synced: 2025-07-26T01:26:24.833Z (8 months ago)
- Topics: django, django-ninja, docker, pgadmin, postgresql
- Language: Python
- Homepage:
- Size: 928 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SOCIALNET V2 | Social Networking API in Django Ninja Rest Framework

#### DJANGO DOCS: [Documentation](https://docs.djangoproject.com/en/4.2/)
#### DJANGO NINJA REST FRAMEWORK DOCS: [Documentation](https://django-ninja.dev/)
#### PG ADMIN: [Documentation](https://pgadmin.org)
## How to run locally
* Download this repo or run:
```bash
$ git clone git@github.com:kayprogrammer/socialnet-v2.git
```
#### In the root directory:
- Install all dependencies
```bash
$ 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
```bash
$ python manage.py migrate
```
```bash
$ uvicorn socialnet.asgi:application --reload
```
- Run With Docker
```bash
$ docker-compose up --build -d --remove-orphans
```
OR
```bash
$ make build
```
- Test Coverage
```bash
$ pytest --disable-warnings -vv
```
OR
```bash
$ make test
```
#### Swagger: [Documentation](https://swagger.io/docs/)










