Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixdes/websiteexample
Flask+SocketIO site example
https://github.com/felixdes/websiteexample
Last synced: 24 days ago
JSON representation
Flask+SocketIO site example
- Host: GitHub
- URL: https://github.com/felixdes/websiteexample
- Owner: FelixDes
- Created: 2022-03-07T13:41:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-09T15:09:22.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T14:49:42.741Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 3.86 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebSiteExample
Flask+SQLAlchemy website exampleApplied features:
* registration and logining using flask_login
* saving user data in database using SQLAlchemy
* interactive map using [Yandex Maps](https://yandex.ru/dev/maps/archive/doc/jsapi/1.x/dg/tasks/quick-start.html)
* light/dark theme switcher
* ability to send message from site to database
* messages to json parserSite was placed in [Heroku](https://fkn-web-tech.herokuapp.com/)
For running application from terminal do those steps:
1. Install [Python 3.9.9](https://www.python.org/downloads/release/python-399/)
2. Set absolute python path venv/pyvenv.cfg to home, base-prefix, base-exec-prefix and base-executable
3. Set absolute database path to DATABASE_PATH in main using {/} for every level (something like: C:/Users/user/PythonProject/db/main.db)
4. Open terminal and type: {Path to project}\venv\Scripts\python.exe {Path to project}\main.py
5. Open link from the terminal