Skip to content

abhishyants-art/python-fullstack-task3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Full Stack Web Development - Task 3

Project Overview

This project is a Flask-based Student Management System with User Authentication and CRUD operations.

Only authenticated users can manage student records.


Technologies Used

  • Python
  • Flask
  • SQLite
  • HTML
  • CSS
  • Werkzeug Security

Features

Authentication

  • User Registration
  • User Login
  • Password Hashing
  • Session Management
  • Logout

Student CRUD

  • Add Student
  • View Students
  • Edit Student
  • Delete Student

Authentication Flow

  1. User registers using username, email and password.
  2. Password is hashed using Werkzeug.
  3. User logs in.
  4. Flask creates a session.
  5. Dashboard becomes accessible.
  6. Logout destroys the session.

CRUD Flow

  1. Login to the application.
  2. Open Dashboard.
  3. Click Add Student to insert a new student.
  4. Click View Students to see all records.
  5. Click Edit to update student information.
  6. Click Delete to remove a student.

Database

users

  • id
  • username
  • email
  • password

students

  • id
  • name
  • age
  • course
  • email

Project Structure

python-fullstack-task3/
│
├── app.py
├── database.db
├── README.md
│
├── templates/
│   ├── register.html
│   ├── login.html
│   ├── dashboard.html
│   ├── add_student.html
│   ├── students.html
│   └── edit_student.html
│
└── static/
    └── style.css

How to Run

Install Flask:

pip install flask werkzeug

Run the application:

python app.py

Open your browser:

http://127.0.0.1:5000

Learning Outcome

  • Flask Web Development
  • User Authentication
  • Password Hashing
  • Session Management
  • SQLite Database
  • CRUD Operations
  • HTML/CSS Integration
  • Git & GitHub

About

Python Full Stack Web Development Task 3

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors