UITClass is a Python project built with FastAPI and managed with Poetry. It provides a simple API for locating places based on their names.
-
Clone the repository:
git clone https://github.com/aasifshahzad/uitclass.git cd uitclass
-
Install dependencies using Poetry:
poetry install
Run the application using Uvicorn:
poetry run uvicorn uitclass.main:app --reload
The API will be available at http://localhost:8000
.
- GET /: Returns a greeting message.
- GET /location/{name}: Retrieves the location details for the specified name.
- Python 3.12
- FastAPI 0.110.0
- Uvicorn 0.27.1 (with standard extras)
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes and commit them (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.