Giter VIP home page Giter VIP logo

social-network-app's Introduction

Social App

There is social app that I worked with.

Stack:

FastAPI, PostgreSQL, MongoDB, Redis, Celery, Pytest

Note: It's a big project, I wrote this alone in my free time. I did not have much time to write the cleanest code. With more time I can do much better

I'm going to improve some parts to create some useful template.

What it consist of:

  • Tests (I have some)
    • Factory for tests
  • Pre-commit linting
  • Simple profanity filter (enough for test)
  • Docker, deploy overall (now it's commented)
  • Working notifications
  • Suitable admin-panel in django
  • Bunch of useful scripts
  • Integration with Rocketchat
  • Async code
  • S3 integration
  • Sentry SDK
  • Using uuidv7 to better indexing

What can be improved:

  • write more tests
  • CI: linting, test-coverage, security
  • using out-of-box fastapi-filters
  • using out-of-box fastapi-pagination
  • using graph databases for friends
  • move secret out of repo
  • advanced profanity filter

Dependencies install

pip install poetry
poetry install

Add dependency

poetry add

pre-commit install

pip install pre-commit
pre-commit install

Run pre-commit

pre-commit run -a

Run celery worker

celery -A voices.broker worker -l info

Run celery-beat

celery -A voices.broker beat -l info

social-network-app's People

Contributors

pavivin avatar huscker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.