Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 675 Bytes

File metadata and controls

16 lines (11 loc) · 675 Bytes

Wave 01: Setup and Read

Flask Setup

Perform following setup steps for the Solar System API repo to get started on this Flask project:

  1. Create a virtual environment and activate it
  2. Install the dependencies
  3. Define a Planet class with the attributes id, name, and description, and one additional attribute
  4. Create a list of Planet instances

RESTful Endpoints: Read

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.