Skip to content

Practical REST API example for Digit koodikerho on 2021-11-22

Notifications You must be signed in to change notification settings

DigitKoodit/koodikerho-rest

Repository files navigation

Koodikerho REST

Requirements

Setup

  1. Clone this repo:
git clone [email protected]:DigitKoodit/koodikerho-rest.git

OR

git clone https://github.com/DigitKoodit/koodikerho-rest.git
  1. Navigate to the directory you cloned:
cd koodikerho-rest
  1. Create a Python virtual environment:

(Use python or python3 command depending on your system)

python -m venv venv
  1. Activate the virtual env:

macOS, Linux, WSL, Git Bash:

source venv/bin/activate

Windows cmd.exe:

venv\Scripts\activate.bat

Windows PowerShell:

venv\Scripts\Activate.ps1
  1. Install the PyPI packages:
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt -r requirements-dev.txt

Running

uvicorn main:app --reload

About

Practical REST API example for Digit koodikerho on 2021-11-22

Resources

Stars

Watchers

Forks

Languages