GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sam12354/python_project_for_back_end: A Flask + MySQL web app where users can register, log in, and manage their own gems or minerals. Built with SQLAlchemy, JWT authentication, and Jinja2 templates. Originally a Node.js + MongoDB project, now rewritten in Python as part of my learning journey.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
testProject
testProject
 
 
.gitattributes
.gitattributes
 
 
README.md
README.md
 
 

Repository files navigation

🪨 Gem Store - Flask Version

This is a web app built using Flask, MySQL, and Jinja2, where users can register, log in, create, edit and delete gems or minerals.

Originally built with Node.js, Express, and MongoDB, this project is being reimplemented using Flask and MySQL.


šŸ“Œ Important Notes

  • This project runs in PyCharm using the command: "python -m src.main"

  • It does not currently run in VS Code — I'm still working on that part. If you know why, feel free to help or open an issue!

  • Some things may not be perfect — I’m still learning Python and SQLAlchemy. The project works for me in PyCharm, but hasn't been tested much beyond that.


āœ… Features

  • User registration & login (JWT-based)
  • Password hashing (with bcrypt)
  • Create / Edit / Delete gems and minerals
  • Only item owners can edit/delete
  • Jinja2 templates (dynamic views based on login)
  • MySQL database

🧰 Tech Used

  • Python 3.11+
  • Flask
  • MySQL
  • SQLAlchemy ORM
  • bcrypt for passwords
  • JWT for authentication
  • Jinja2 for frontend templating

šŸ”§ How to Run

Make sure you have Python and MySQL installed.


Create a .env file in the root folder with: JWT_SECRET=your_jwt_secret


Create a MySQL database: CREATE DATABASE online_store_python;


Run the project (from the root folder): python -m src.main


Then open your browser and go to: http://localhost:3000


šŸ“¦ To-Do / Improvements

Improve validation and error handling
Enhance UI styling
Add additional features (e.g. search, filtering)

About

A Flask + MySQL web app where users can register, log in, and manage their own gems or minerals. Built with SQLAlchemy, JWT authentication, and Jinja2 templates. Originally a Node.js + MongoDB project, now rewritten in Python as part of my learning journey.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.