
Project by Ram Chimnani
Freelancer Project Management System
Small Wonders Senior Secondary School
First Step
Set Up a Database
To manage freelancer projects effectively, the first step is to create a database and set up a table to store project details. Follow the steps below to create the necessary database and table using SQL:
Connecting to the MySQL Database
&
Adding a New Project
This script defines two functions: one to connect to the MySQL database and another to add a new project record into a table.
This Python code is used to interact with a MySQL database and perform operations related to a project management system. It contains two main functions: connecting to the database and adding a new project.
Project Management Functions
The Python code provides three key operations for the `projects` table:
1. View Projects : Fetch and display all project records.
2. Update Project : Modify `status` and `payment` for a specific project.
3. Delete Project : Remove a project by its `project_id`.
Main Menu
The main entry point of the program, which displays a menu with five options and handles user inputs to execute corresponding actions.