/FastAPI-DateTime

Small FastAPI API to get some stats of current time in month and year

Primary LanguagePython

FastAPI-DateTime

Installation

  1. Clone this repo git clone https://github.com/Nazarii14/FastAPI-DateTime.git
  2. Create new venv python -m venv env
  3. Activate your venv with running activate.bat file inside Scripts folder
  4. Install requirements pip install -r requirements.txt
  5. Run main.py uvicorn main:app --port=8000

Available Routes

  1. /info
  2. /month
  3. /year