This microservice is apart of Assignment 7 for CS361.
This microservice creates an API that will take in someones birthday in the form {month}{day} in numbers and return their astrological sign.
- Open your terminal and clone this repository on your local hardrive.
git clone {link to repository ssh or https}
- Navigate into the cloned repository.
cd Project-CS361
- Visit the this page to create and activate a virutal environment in which the microservice will run.
python -m venv env
source ./env/bin/activate
- Visit the this page to install the FastAPI Python library.
pip install "fastapi[all]"
- Run main.py
python main.py
Once you have run main.py you should see this in your terminal:
Copy this into your browser:
This should appear:
Type "/generate/{month}{day}" after the url inserting your month in number format. It should look like this:
If you have done everything right, the API should return your sign: