This is a python project to create a memory bank that can be used to store short categorised text entries.
Run: python app.py
The service is hosted in two different heroku apps: Production: https://archiememory.herokuapp.com/ Staging: https://archiememory-stage.herokuapp.com/
Production: git push pro master
Staging: git push stage master
The database currently consists of one table: memories, a memory has: id: int, main key, auto incremental content: string, the text to remember (eg: 'buy groceries') category: string, the category of the memory (eg: 'to-dos')
It is a postgresql database, using Flask and SQLAlchemy
- The main tutorial used for this project was: https://realpython.com/flask-by-example-part-1-project-setup/
- Useful resource on simple SQLAlchemy: https://flask-sqlalchemy.palletsprojects.com/en/2.x/queries/#inserting-records
Fix configs for pro and stage: Setting up the config was taught for a unix system, it doesnt seem to work for windows