Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

dantetemplar/sa-anonymous-chat

Repository files navigation

Anonymous chat

Table of contents

Did you know that GitHub supports table of contents by default 🤔

About

This is the API and frontend for anonymous chat

Technologies

Development

Getting started

  1. Install Python 3.11+
  2. Install Poetry
  3. Install project dependencies with Poetry.
    poetry install --no-root

Set up PyCharm integrations

  1. Pydantic (plugin). It will fix PyCharm issues with type-hinting.
  2. Conventional commits (plugin). It will help you to write conventional commits.

Run for development

  1. Run the ASGI server
    poetry run python -m src.api
    OR using uvicorn directly
    poetry run uvicorn src.api.app:app
    OR using granian
     granian --opt --workers 8 --interface asgi src.api.app:app
    OR in docker
    docker compose up --build

Now the API is running on http://localhost:8000/docs. Good job!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published