Skip to content

Kaemon/alphv-tech-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALPHV Tech Generalist Assignment

A full-stack web application built with Flask and SQLite, featuring a secure Admin Portal for data management and a real-time User Portal for data visualization.


🚀 Live Demo & Links (Review Here)

🔑 Admin Credentials (For Testing)

I have pre-configured an Admin account on the live demo for your convenience. Please use these credentials to access Add/Edit/Delete features immediately:

  • Email: admin@alphv.com
  • Password: 123456

Note: You can also register a new account, but it will be assigned standard User privileges (View Only).


✨ Key Features

  1. Admin Portal (Secure):

    • Authentication system with password hashing.
    • First user (ID=1) is automatically granted Super Admin privileges.
    • Full CRUD functionality (Create, Read, Update, Delete) for data entries.
  2. User Portal (Real-time):

    • Public dashboard displaying Timestamp, Name, Shape, and Color.
    • Real-time Updates: The grid updates automatically every 3 seconds without refreshing the page (implemented via JavaScript polling).
  3. REST API:

    • Dedicated endpoint /api/data serving JSON data to support the frontend grid.

🛠 Tech Stack

  • Backend: Python 3.10, Flask, SQLAlchemy, Flask-Login
  • Frontend: HTML5, Bootstrap 5, JavaScript (Fetch API)
  • Database: SQLite
  • Deployment: PythonAnywhere

📦 How to Run Locally

If you prefer to examine the code locally:

  1. Clone the repository
    git clone [https://github.com/Kaemon/alphv-tech-assessment.git](https://github.com/Kaemon/alphv-tech-assessment.git)
    cd alphv-tech-assessment
    
  2. Install Dependencies
       pip install -r requirements.txt
    
  3. Run the Application
        python app.py
    
  4. Access the App Open browser at: http://127.0.0.1:5000

About

Full-stack web app with Flask & SQLite — Admin Portal with CRUD and real-time User Dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors