Skip to content

gonzaloosuna/fastapi-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Project

This is a simple "Hello World" web application built with FastAPI, designed to run within a Docker container.

Project Overview

This project serves as a basic demonstration of a FastAPI application, containerized using Docker. It exposes a single endpoint that returns a JSON response.

Features

  • FastAPI Framework: Utilizes the modern, fast (high-performance) web framework for building APIs with Python 3.8+.
  • Dockerized: The application is packaged into a Docker container for easy deployment and portability.
  • "Hello World" Endpoint: A basic GET endpoint at the root (/) that returns {"Hello": "World"}.

Technologies Used

  • Python
  • FastAPI
  • Uvicorn (ASGI server)
  • Docker

Getting Started

Prerequisites

Make sure you have the following installed:

Running the Application

  1. Clone the repository:

    git clone <your-repo-url>
    cd fastapi-project
  2. Build the Docker image:

    docker build -t fastapi-project .
  3. Run the Docker container:

    docker run -d -p 80:80 fastapi-project
  4. Access the application: Open your web browser and navigate to http://localhost.

Project Development

This entire project, including its structure, code, Dockerfile, and documentation, was developed by Gemini CLI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published