Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bongomin/memo-python-flask-react
Flask and React based intranet app where you can create and share lists (e.g. shopping list, todo, ...)
https://github.com/bongomin/memo-python-flask-react
Last synced: 2 days ago
JSON representation
Flask and React based intranet app where you can create and share lists (e.g. shopping list, todo, ...)
- Host: GitHub
- URL: https://github.com/bongomin/memo-python-flask-react
- Owner: bongomin
- Created: 2019-05-21T13:35:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T04:59:09.000Z (almost 2 years ago)
- Last Synced: 2024-11-10T16:12:34.699Z (2 months ago)
- Language: Python
- Size: 31.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# memo-python-flask-react
Flask and React based intranet app where you can create and share lists (e.g. shopping list, todo, ...)# memo-pytho-flask-react-app
Single page web app to keep track of various things, like shopping lists, to dos, ... The backend is written in python
using flask and flask-restful. The front end is coded around the react and redux js libraries. Ideal to run on a hobby webserver
(e.g. raspberry pi).## Installation
Installation instruction for deployment on a linux system.
Clone the repository
git clone https://github.com/bongomin/memo-python-flask-react.git
Set up a virtual environment
cd MemoBoard
virtualenv --python=python3 venv
Activate the environment and install packagessource venv/bin/activate
pip install -r requirements.txt
Configure MemoBoardvim config.py
Set environmental variable (windows)
set FLASK_APP=run.pySet environmental variable (linux)
export FLASK_APP=run.pyCreate the database and migration
# create database
flask createdb
**Note:** When running this through a webservice and using SQLite, make sure the user www-data has read/write access to the file.Run tests and run app
python run_tests.py
flask run
Check the web how to configure the webserver of your choice (tested with uwsgi and nginx) to serve memoboard. In case
a sqlite database is used, make sure the file is readable and writeable by the webserver.# Front-end development
Install all packages through npm
npm install