Skip to content

PTBresearch/MetricLibUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Application

A full stack web application with FastAPI backend and Vue.js frontend.

Project Structure

.
├── backend/
│   ├── environment.yml
│   └── main.py
├── frontend/
│   ├── src/
│   └── package.json
└── README.md

Prerequisites

  • Python 3.8 or higher
  • Node.js 16.x or higher
  • npm or yarn package manager
  • pip package manager

Backend Setup (FastAPI)

1. Navigate to the backend directory

cd backend

2. Create and activate the conda environment

conda env create -f environment.yml

conda activate metric-backend

3. Install MetricLib

Navigate to the MetricLib repository and run

pip install -e .

3. Start the backend server

From the backend folder run

uvicorn main:app --reload --host 0.0.0.0 --port 8000

python main.py

The API will be available at http://localhost:8000

Frontend Setup (Vue.js)

1. Navigate to the frontend directory

cd frontend

2. Install dependencies

npm install

yarn install

3. Start the development server

npm run dev

yarn dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages