- This is a spotify like app with the aim of look at key featured need for a full stack application
- the frontend design has been created with figma
- the database relationship has been created with lucid charts
- trello board is used to keep track of new feature to be added
- backend with Flask,
- ORM used is flask-sqlalchmey
- postgresql for production database
- mysqlite3 database for testing
- testing backend code with pytest
- ORM used is flask-sqlalchmey
- frontend is designed with ReactJS
- MaterialUi is used for design components
- testing with jest
- git/github is used for code management
- backend with FAST API
- ORM: sqlalchemy
- postgres for production db
- sqlite3 (in memory) for testing
- make sure to use fastapi cors so that there is a backend server and a frontend server
- Elm for frontend language
- TailwindCSS for css framework
- elm-test
- look into elasticsearch for python
- portable version of sqlite view
- pushing to non master branch on heroku
- make sure the build file is deleted from
app/static/
- run
build_and_export.sh
file located atapp/main/template/fe
- the above file does the following three steps
- build tailwindcss for production (by purgin classes that are not used).
- makesure in
tailwind.config.js
thepurge.enabled
value is set totrue
. - runnpm run build:tailwind
- compile react to a production build
npm run build
. - move the build file to
app/static/
file. - update the
js
andcss
files inapp/main/template/index.html
file.