Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

innonymous/compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT NOTE FOR THOSE WHO CHECK OUR WORK IN INNOPOLIS: this readme only for brief view of project. All important information for grading you can find in our docs: https://innonymous.rtfd.io

Innonymous is mobile-ready open-source light-weight and anonymous chat. Backend in python FastAPI, client-side in ReastJS, using web-sockets. Persistant storages are postgres and rabbitmq. Backend has anti spam registration using auto-generated CAPTCHA.


Since we have clear and easy documentation (powered by swagger) you can use our backend and create your own client-side application!


Source code

You may notice that this repo does not have any source code. We decided to split backend, frontend and main repo. Here you can find all links:

Screenshots

Demo of project - here

Desktop version:

Mobile version:

Quick start

We already pushed Innonymous to production: https://innonymous.tk/ (We DO NOT accept any responsibility for the content of the site. Anyone can write anything)

However you can start your own version of Innonymous! It is as easy as 1-2-3:

  1. Install Docker and Docker Compose if you don't have it already

    • On Mac and Windows, Docker comes with Docker Compose
    • On Linux you need to install Docker Engine and Docker Compose separately
  2. Configure .env file:

$ cp .env.example .env
env variable description example
AMQP_PASSWORD RabbitMQ in docker container will use it, so this password only for infrastructure usage. However you should keep it in secret. mycoolpassword1
DATABASE_PASSWORD Infra password for postgres mycoolpassword2
API_KEY 32 bytes in hex, can be generated as openssl rand -hex 32 for backend JWT generation 12345678901234567890123456789012
API_PORT port for api. can be any free port 8000
WEB_PORT port of web service (client side app) 8080
  1. Now start the whole project. You can add -d flag to run in daemon mode:
$ docker pull smthngslv/innonymous-web-client
$ docker pull smthngslv/innonymous-api-server
$ docker-compose up

Done! Now go to localhost:8080 and test your chat!

NOTE: after restarting database, you should clear your browser cookies. It is even better to use Incognito Window for local testing.



We DO NOT accept any responsibility for the content of the site. Anyone can write anything