Overview
SpaceX Launches Explorer is a web application created to learn Astro and TypeScript while consuming the public SpaceX API. The application allows users to explore all SpaceX launches in detail.
Using Astro for static page generation and TypeScript for safe and robust typing. Data is obtained in real time from the SpaceX API, showing detailed information about each launch, including dates, rockets used, and descriptions. The interface is designed to be intuitive and visually appealing, making it easy to navigate through the launches.
Development
In the development of SpaceX Launches Explorer, I used Astro to build a web application that displays SpaceX launches by consuming their public API. Astro handled static page generation and efficient content management, while TypeScript provided rigorous typing to ensure API data is handled correctly and presented reliably.
I implemented fetch with TypeScript to make requests to the SpaceX API and process the obtained data, including information about each launch, such as dates, rockets, and descriptions.