Skip to content

WesleyEe/InventoryManagementApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guide to run application

Prerequisites

  1. Ensure Docker is installed
  2. Ensure poetry is installed (for backend)
  3. Ensure npm and node is installed (for frontend)

DATABASE: Start up MySQL database

  1. Enter database directory
  • Run cd database
  1. Start up database
  • Run docker-compose up

BACKEND: Start up Flask backend server

  1. Enter backend directory
  • Run cd backend
  1. Install dependencies
  • Run poetry install
  1. Start up Flask server
  • Run poetry run python3 run.py

Refer to backend/README.md to find out how to query backend directly

FRONTEND: Start up React frontend

  1. Enter database directory
  • Run cd database
  1. Install dependencies
  • Run npm install
  1. Start up React frontend
  • Run npm start
  1. Go to http://localhost:5173/ on your Chrome browser (or any browser).

About

A prototype for a simple inventory management app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published