Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.47 KB

README.md

File metadata and controls

61 lines (33 loc) · 1.47 KB

Português 🇧🇷

SpaceX Launches

Coding assignment by Callix

Running the project

Install dependencies:

pnpm install

Run the NextJS dev server:

pnpm dev

Go to http://localhost:3000

API routes are served by NextJS HTTP router based on handlers' file paths:

Fetches past SpaceX launches

Fetches upcoming SpaceX launches

Fetches latest SpaceX launch

Fetches next SpaceX launch

It displays the past and upcoming launches from the API and has 2 variants controlled by Google Optimize A/B test experiment:

Variant A: Original

Just the simple display of launches lists.

Screenshot

Variant B: With Search Input

Besides having the same lists, it allows you to filter the launches by name or some term mentioned in the details text and I've also changed the page title to a slightly blueish color using the Google Optimize editor just to make sure it isn't the variant A.

Screenshot