Skip to content

Ibotyle/code12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An API to retrieve Public Information

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.

Technologies Used

  • Python
  • Flask
  • Git
  • Vercel

Prerequisite

  • Python 3.8 or higher
  • pip (Python package manager)

Local Development

  1. Clone repo git clone https://github.com/Ibotyle/code12.git

1.1. Change Directory to code12 cd code12

  1. Create Virtual Environment python -m venv venv

  2. Activate Virtual Environment source venv/bin/activate

  3. Install dependencies pip install -r requirements.txt

  4. Run the application flask run

API should be running on http://127.0.0.1:5000

To access Project

Send a get request to https://code12-olive.vercel.app/

Example Usage

Request

curl -X GET https://code12-olive.vercel.app/

Response

{ "current_datetime":"2025-02-02T09:43:23","email":"ibotyle@gmail.com","github_url":"https://github.com/ibotyle/code12" }

Deployment

Project url: https://code12-olive.vercel.app/

Backlink

Python Developers

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages