Skip to content

DSC-VJTI/Boutique-Server

Repository files navigation

Boutique Server

Quick Setup

  1. Clone the repo
$ git clone https://github.com/DSC-VJTI/Boutique-Server
  1. Create a virtual environment and install the requirements
$ pip install -r requirements_dev.txt
  1. Install pre-commit hooks
$ pre-commit install
  1. You need to set the following environment variables
  SECRET_KEY                    // JWT secret
  ALGORITHM                     // Algorithm for encoding JWT
  ACCESS_TOKEN_EXPIRE_MINUTES   // JWT token expiration in minutes
  DATABASE_URL                  // Database URL
  1. Run the project
  • Using main.py
// using main.py

$ cd src/app

$ python main.py
  • Using uvicorn command
$ uvicorn --app-dir="./src/app" --reload main:app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •