Backend
- FastAPI
- SQLAlchemy
- MongoDB
Frontend
- HTML(Jinja2), CSS
- JS(JQuery)
- Registration and Login with hash password and OAuth2 with custom cookie.
- WebSoket chats with private messages
- Send text
- Receive text
- Save chat history
- Clone git repository: https://github.com/Inott-git/fastApi_Chat.git
- Download requirements -> pip install -r requirements.txt
- Get connection link for MongoDB(for example, from MongoDB Compass)
- Start app -> uvicorn main:root --reload
- You can see endpoint -> Docs
- The chat(first login or register) itself -> Home
!!! DON'T REGISTER WITH YOU REAL PASSWORD, BECAUSE DATABASE SAVE IN GIT!!!
- You can register 2 users(and add by id(number of account) in menu)
Project create for my education and i can guess, that it have a lot of weak spots :)