A FastAPI-based microservice for validating FAANG data.
- Single API endpoint that returns a welcome message
- Containerized with Docker for easy deployment
- Built with FastAPI for high performance and automatic API documentation
- Python 3.9+
- FastAPI
- Uvicorn
- Docker (for containerized deployment)
-
Clone the repository:
git clone https://github.com/yourusername/faang-validator-backend-service.git cd faang-validator-backend-service -
Install dependencies:
pip install -r requirements.txt -
Run the application:
python app.main.pyAlternatively, you can use Uvicorn directly:
uvicorn app.main:app --reload -
Access the API at http://localhost:8000
-
Build the Docker image:
docker build -t faang-validator-api . -
Run the container:
docker run -p 8000:8000 faang-validator-api -
Access the API at http://localhost:8000
Once the application is running, you can access the automatic API documentation:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Returns a welcome message and status.
Response Example:
{
"message": "Welcome to FAANG Validator API",
"status": "operational"
}