A simple Flask Python CRUD app to understand how the basics of CRUD works with a database.
- Framework: Flask
- Database: AzureSQL
- Authentication: not applicable
- Deployment: Vercel
- Styling: Bootstrap
- Analytics: not applicable
- [x] need to fix the delete button
- [x] Add a create button for new contracts
- [x] Flash for add and delete
- [x] add vercel deploy
- [x] database variables to be kept outside of github (for now it uses a public DB created on supabase, so risk limited)
This application requires the latest python and flask to be installed.
git clone https://github.com/buildwithdan/MandalorianBounty.git
cd MandalorianBounty
flask --debug --app api.app run
Ensure to plug your database details into the api/config.ini file.
if you Deploy on Vervel, ensure to add your enviroment variables on the same naming as its in the config.ini file.
have a look at the inside and just change the return value to local if you want to develop locally and then just flip it to external if you want it to work on Vercel.