Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.
Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.
For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.
It makes sense to start learning by reading and watching videos about fundamentals and how things work.
Data Science and Machine Learning - 16 wks
Full-Stack Software Developer - 16w
Search from all Lessons
Curated list of small interactive and incremental exercises you can take to get better at any coding skill.
Curated section of projects to build while learning with simple instructions, videos, solutions, and more.
Guides on different topics related to the technologies that we teach in our courses
Based on the technologies/strategies we've learn build a static API that handles a family tree. You're free to use your own family information, you can use fake data too.
Do not clone this repository.
a) If using Gitpod (recomended) you can clone the boilerplate by:
b) If working locally type the following command from your command line:
git clone https://github.com/4GeeksAcademy/flask-rest-hello.
git clone https://github.com/4GeeksAcademy/expressjs-rest-hello.
💡 Important: Remember to create a new repository, update the remote (
git remote set-url origin <your new url>), and upload the code to your new repository using
Your API must have, at least, 7 members spread throughout 3 generations:
The family tree must be represented as an object tree structure, i.e.: each person (node in the tree) must have: id, name, last-name, age, and a reference (id) to its parents and children (if any).
GET /allThe API must expose an endpoint that returns the full list of family members ordered by oldest to younger.
GET /member/<int:id>The API must expose an endpoint that returns a specific member of the family tree by their id (which should be unique) and the information about its children and parents.
The API must be developed using Flask or Expressjs and each endpoint must return a valid JSON file.
You may want to draw (pen and paper) the tree structure to have a "visual" structure in mind. Use the lines to display the references between parents and children.
The references should be the members' id number.
Create your data structures before you create the endpoints, use global variables.