A serverless function platform that allows you to run Python and Node.js code in isolated containers, similar to AWS Lambda.
- Run Python and Node.js code in isolated Docker containers
- Support for multiple programming languages
- Container isolation for security
- Memory limits and timeout controls
- Simple REST API for function management
- Built-in code execution monitoring
- Python 3.10+
- Docker
- Node.js 18+ (for Node.js functions)
- Clone the Repository
git clone https://github.com/maverickayush7/LAMBDA-Serverless-Function-Platform.git- Create a Virtual Environment
python -m venv venv
source venv/bin/activate- Install Dependencies
pip install -r requirements.txt- Start the FastAPI Backend
uvicorn backend.main:app --reload- Start the Streamlit Frontend
streamlit run frontend/app.py- Access the App
- Frontend: http://localhost:8501
- API Docs: http://localhost:8000/docs
- Python 3
- JavaScript (Node.js)
POST /functions/- Upload a new functionGET /functions/{function_id}- Get function detailsPOST /functions/{function_id}/run- Execute a functionDELETE /functions/{function_id}- Delete a function
lambda-serverless-function/
├── backend/
│ ├── api/ # FastAPI routes and endpoints
│ ├── core/ # Core functionality
│ ├── db/ # Database models and operations
│ ├── schemas/ # Pydantic models
│ ├── tests/ # Test cases
│ └── utils/ # Utility functions
├── docker/ # Docker configuration files
├── frontend/ # Frontend application (if any)
└── requirements.txt # Python dependencies
