If flask is a bit too simple for you, check out Django. It’s a much more batteries-included framework. It’ll simplify the database connection (it has its own orm) and also simplifies authentication.
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
I should probably edit my OP but in the end I decided to go with bootstrap and sqlite, after adking my professor too. Im still open on suggestions to do the authentications though :)
What are you using on the server side? Last I knew bootstrap was just a (albeit good) front end framework. SQLite is just a db.
We don't need to go as far as actually setting up a server. Isn't that something sqlite solves in this situation? Meaning, I don't need to actually set up a server but can simulate what would be going on with the frontend and the actual database in an actual server? I don't know if I've got it mixed up or not.
If that's not the case, what should I use for serverside stuff?
If you are forgoing a backend entirely you don’t need SQLite. If you need a server that can respond to http requests, that’s where you would need something like Django or flask, and they would store their data in SQLite. If your data is all fake and you don’t need it to sync between different browsers you can just fake it all using the web storage api and a static site.
I looked into the web storage api and while interesting I do need to have something more than that for the project. I cant go full easy mode sadly xD