Skip to content

A blog the back end is based on FastAPI ,Front end based on Vue 一个基于FastAPI 的博客应用后端

Notifications You must be signed in to change notification settings

Choyeon/nuntium

Repository files navigation

nuntium

A short description of the project

Development Requirements

  • Python3.8.2
  • Pip
  • Poetry (Python Package Manager)

M.L Model Environment

MODEL_PATH=./ml/model/
MODEL_NAME=model.pkl

Update /predict

To update your machine learning model, add your load and method change here at predictor.py

Installation

python -m venv venv
source venv/bin/activate
make install

Runnning Localhost

make run

Deploy app

make deploy

Running Tests

make test

Runnning Easter Egg

make easter

Access Swagger Documentation

http://localhost:8080/docs

Access Redocs Documentation

http://localhost:8080/redoc

Project structure

Files related to application are in the app or tests directories. Application parts are:

app
├── api              - web related stuff.
│   └── routes       - web routes.
├── core             - application configuration, startup events, logging.
├── models           - pydantic models for this application.
├── services         - logic that is not just crud related.
└── main.py          - FastAPI application creation and configuration.
│
tests                  - pytest

About

A blog the back end is based on FastAPI ,Front end based on Vue 一个基于FastAPI 的博客应用后端

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published