This is a simple public API developed as part of the HNG Stage 0 task. The API provides basic information such as the registered email, current date and time in ISO 8601 format, and the GitHub repository URL.
- Returns email, current UTC datetime, and GitHub repository URL in JSON format.
- Deployed to a publicly accessible endpoint.
- CORS handling enabled for cross-origin requests.
- Fast response time (<500ms).
https://hng-stage0-backend-api-94ho.vercel.app/
- Programming Language: Python
- Framework: FastAPI
- Deployment: Vercel
Returns basic information in JSON format.
GET https://hng-stage0-backend-api-94ho.vercel.app/
{
"email": "sccsmartcode@gmail.com",
"current_datetime": "2025-01-29T21:15:30.123456Z",
"github_url": "https://github.com/SCCSMARTCODE/hng-stage0-backend-api"
}
git clone https://github.com/SCCSMARTCODE/hng-stage0-backend-api.git
cd hng-stage0-backend-api
Ensure you have Python installed, then install required dependencies:
pip install -r requirements.txt
python app.py
Once running, open your browser or use Postman to access:
http://127.0.0.1:8001/
This project is deployed on Vercel. To deploy manually:
- Install Vercel CLI:
npm install -g vercel
- Deploy the project:
vercel
Looking for backend developers? Check out:
This project is open-source and available under the MIT License.