This project contains a public API that retrieves: my HNG registered email address, current datetime(ISO 8601 format) and the GitHub URL of the project's codebase.
- Python
- Flask
- Git
- Vercel
- Python 3.8 or higher
- pip (Python package manager)
- Clone repo
git clone https://github.com/Ibotyle/code12.git
1.1. Change Directory to code12
cd code12
-
Create Virtual Environment
python -m venv venv -
Activate Virtual Environment
source venv/bin/activate -
Install dependencies
pip install -r requirements.txt -
Run the application
flask run
API should be running on http://127.0.0.1:5000
Send a get request to https://code12-olive.vercel.app/
curl -X GET https://code12-olive.vercel.app/
{ "current_datetime":"2025-02-02T09:43:23","email":"ibotyle@gmail.com","github_url":"https://github.com/ibotyle/code12" }
Project url: https://code12-olive.vercel.app/