Skip to content

FAANG/faang-validator-backend-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAANG Validator Backend Service

A FastAPI-based microservice for validating FAANG data.

Features

  • Single API endpoint that returns a welcome message
  • Containerized with Docker for easy deployment
  • Built with FastAPI for high performance and automatic API documentation

Requirements

  • Python 3.9+
  • FastAPI
  • Uvicorn
  • Docker (for containerized deployment)

Running Locally

  1. Clone the repository:

    git clone https://github.com/yourusername/faang-validator-backend-service.git
    cd faang-validator-backend-service
    
  2. Install dependencies:

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

    python app.main.py
    

    Alternatively, you can use Uvicorn directly:

    uvicorn app.main:app --reload
    
  4. Access the API at http://localhost:8000

Docker Deployment

  1. Build the Docker image:

    docker build -t faang-validator-api .
    
  2. Run the container:

    docker run -p 8000:8000 faang-validator-api
    
  3. Access the API at http://localhost:8000

API Documentation

Once the application is running, you can access the automatic API documentation:

API Endpoints

GET /

Returns a welcome message and status.

Response Example:

{
  "message": "Welcome to FAANG Validator API",
  "status": "operational"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •