Skip to content

About

Code artifacts from day 4 for building an API with FastAPI, docker, and deploying to google cloud.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Hello World API

A simple FastAPI application.

Setup

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run

uvicorn main:app --reload

The API will be available at http://127.0.0.1:8000

Endpoints

  • GET / — returns {"message": "Hello, World!"}
  • GET /hello/{name} — returns a personalized greeting

Interactive docs are auto-generated at http://127.0.0.1:8000/docs

About

Code artifacts from day 4 for building an API with FastAPI, docker, and deploying to google cloud.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages