- Connect to the MySQL CLI and create a database (you will need to reflect your choices in
setupDB()
indb.go
). - Run the
db/schema.sql
script in the MySQL CLI. - Run the
db/inserts.sql
script in the MySQL CLI.
- Open a new terminal.
- Navigate to
/web-service
and rungo run .
in your terminal.
- Create a virtual environment:
python -m venv <venv_name>
- Activate the virtual environment.
- Install dependencies:
pip install requests
- Run the tests:
python test_the_api.py
/characters
/characters/id
/devil_fruits
/devil_fruits/id
/locations
/locations/id
/artifacts
/artifacts/id