Home > database >  Best backend language for bootstrap 5 e commerce project
Best backend language for bootstrap 5 e commerce project

Time:01-05

I have downloaded bootstrap5 e-commerce template from some random website and have done some modifications too. Now i want to make working from end to end. Which language and DB can i use for making it up and running? it has registration page, login page, products page, add to cart, payment gateway. Please help me!

CodePudding user response:

If you want to do all the coding yourself you can use PHP and MySQL, You can also use some CMS like enter image description here

Please note the init.py file. This file will let the module be called as a module in your flask app. with out it the module could not run. in this file you will define links to your Controller files (see description below). This file and its code will be unique depending on the logic of your application. However, you can always find great examples of flask project online and can learn from there init.py files..if the project is complicated enough to use them.

Please note the model_mongodb.py file. this file used the lib from flask_pymongo import PyMongo. this is like the MVC design pattern. but most over, I am using this file as the M or Model part of the MVC design pattern.

Please note the templates folder. this file hold html files and will host your Jinja2 templating code too!. this folder will hold your V or views in the MVC design pattern.

Finally, Please note the file crudprojects.py. this file hold the functions to create route and or API's for your app. this file can be seen as your C in the MVC Design Pattern. Each function is a control that will let you control the flow of data from your Model to your Views!

Please keep in mind I am a self taught programmer and just giving you insights on my many years of self study.

to get the real technical make up out using Python/flask as your backend lang, you can find here:

you have a long road to learn python. here is a small list of topics:

finally when you understand the fundamentals and can deploy an app. Please think about using:

  • frontend: Nodejs, Electron, and Reacts

  • backend: MongoDB Atlas, Flask Apis, Docker and GCP (or other cloud platform)

  • look in to 12 factor apps, Get a MacBook Pro for Development and understand how to use python Libs, Bash Scripting, YAML, Github and CI/CD

you will need a background in security and Networking too.

Again all this information is based on the studying I have done and the ** choices** Ive made to architect my own solutions! please make your own choices and do your own studies:)

If you like this answer and mark it as correct, please fill free to share any more post you have as you lvl up:)

I would be happy to use my skills to help with each of your questions along the way:)

  •  Tags:  
  • Related