atyrode / vite

✂️ vite! API shortens your links
http://vite.lol/
The Unlicense
0 stars 0 forks source link

Implementation of a basic API #3

Closed atyrode closed 7 months ago

atyrode commented 7 months ago

In regards to #1, a basic FastAPI was implemented, it can be ran with python3 src/main.py and will host a server listening on 0.0.0.0 (needed that specifically as I host it in WSL). It has a single endpoint '/' which returns an Hello World JSON.

It includes a test suite (in src/tests/test_main.py) and the repository-wide automation of testing as well as the necessary requirements for both testing and implementing API related logic.