Skip to content

japhethCalzadaL/Proyecto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Project

This is a basic FastAPI project with Docker support.

Project Structure

  • app/: Contains the application code.
  • tests/: Contains the tests.
  • requirements.txt: Python dependencies.
  • Dockerfile: Docker configuration.
  • docker-compose.yml: Docker Compose configuration.

Running Locally

  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the application:

    uvicorn app.main:app --reload
  3. Run tests:

    pytest

Running with Docker

  1. Build and run with Docker Compose:

    docker-compose up --build

    The API will be available at http://localhost:8000.

Verifying Docker Setup

To verify that the Docker image builds and runs correctly, use the provided script:

./verify_docker.sh

About

Primer proyecto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors