Perform following setup steps for the Solar System API repo to get started on this Flask project:
- Create a virtual environment and activate it
- Install the dependencies
- Define a
Planet
class with the attributesid
,name
, anddescription
, and one additional attribute - Create a list of
Planet
instances
Create the following endpoint(s), with similar functionality presented in the Hello Books API:
As a client, I want to send a request...
...to get all existing planets
, so that I can see a list of planets
, with their id
, name
, description
, and other data of the planet
.