Skip to content

harness-community/fastapi-harness-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running this project

  1. Create a virtual environment by executing the following command in the terminal:
    • Unix/macOS: python3 -m venv env-name
    • Windows: python -m venv env-name
    • Replace env-name with a desired name for the virtual environment.
  2. Activate the virtual environment using the following command in the terminal:
    • Unix/macOS: source env-name/bin/activate
    • Windows: .\env-name\Scripts\activate
  3. Install project dependencies by executing the following command in the terminal: pip install -r requirements.txt
  4. Run the test cases by navigating to the project's root directory in the terminal and executing the following command: pytest

Accessing the documentation page

  1. Start the development server by executing the following command in the terminal: uvicorn app.main:app --reload
  2. To view the documentation, navigate to localhost:8000/docs in your web browser.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages