Skip to content

bhasfire/EE461-Project-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EE461-Project-V2

Overview

In this project, we focus on developing a Proof of Concept for a web application designed to function as a Hardware as a Service (HaaS) system. Our HaaS system develops a fully functional system that allows users to create and manage encrypted, secure accounts, join Team Projects, and check in and check out hardware for their projects! It abstracts out the organizational requirements for distributing Hardware Resources with a clean, easy-to-use, extensible interface.

Testing

For modularity purposes, we made sure to separate the frontend site from our backend server, allowing us to make test suites for both with ease. Using the Python unittest library, we mocked up API responses from our database, and tested the functionality of the backend routes for each interactable component on the site. These can be run from backend/routes/backend_test.py. For our frontend, we used Jest.js to mock individual states of our sites and ensure that fetch operations were going to the correct places. These tests can be found in frontend/components/frontend_test.js.

Prerequisites

Make sure you have these to run our site from your local machine!

Starting the Backend

These commands will install all necessary dependencies to host and run our backend from your local machine.

cd backend
python -m venv venv 
source venv/Scripts/activate
pip install -r requirements.txt --user
python app.py

Starting the Frontend

These commands will install all necessary dependencies to host and run our frontend from your local machine.

cd frontend
npm install 
npm start

The Stack!

  • Python Flask for the Backend
  • React.js for the Frontend
  • PostgreSQL for Databasing, with Supabase as our Host

Future plans to Dockerize our Backend server and host it on AWS Fargate.

Important Docs!

These Docs contain our planning and meeting notes, which give more detail about how we developed our site.

The Authors

  • Boris He
  • Siddharth Iyer
  • Andrew Nguyen
  • Noam Bella
  • Eddie Liao

About

Hardware Inventory Resource Manager (HaaS)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •