PedroH183 / MessengerSocket

A test chat socket with python (flaskio, flask and Jinja )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MessengerSocket

A chat socket created with rooms, you can create isolated temporary rooms ( and history ).
Developmented with Flask and Flask-SocketIO, to render front-end i using jinja ( backend render ).

Running the project

Go to root of project and create your virtual-env

  • install dependences
    cat -r requirements | xargs poetry install using pip or pip3 -r requirements.txt using poetry

  • run the program
    python3 main.py
    NOTE: that i'm not use flask-script or any lib to manager my socketio server only using socketio.run() creates a basic server to development.

Structure of Project

├── LICENSE 
├── main.py  --- server side code
├── poetry.lock   --- dependences
├── pyproject.toml  --- dependences
├── README.md 
├── static  --- static files to jinja
│   └── css
│       └── style.css
└── templates  --- templates of views
    ├── base.html
    ├── home.html
    └── room.html

About

A test chat socket with python (flaskio, flask and Jinja )

License:MIT License


Languages

Language:Python 43.4%Language:HTML 36.4%Language:CSS 13.9%Language:Dockerfile 6.3%