ankitk26 / SpaceX-Ships

A NextJS App which displays the SpaceX fleet ships in SpaceX from SpaceX API.

Home Page:https://spacex-ships-one.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpaceX-Ships

A NextJS App which displays the SpaceX fleet ships in SpaceX from SpaceX API.

Screenshot

Demo

View the site from the given link

Features

  • View all the ships
  • View single ship and its details
  • Static-site generation
  • Deployed on Vercel

Run Locally

Step 1: Clone the project

git clone https://github.com/ankitk26/SpaceX-Ships.git

Step 2: Go to the project directory

cd my-project

Step 3: Install dependencies

npm install

Step 4: Start the server

npm run dev

API Reference

Get all the ships

GET https://api.spacexdata.com/v4/ships

Get a single ship

GET https://api.spacexdata.com/v4/ships/${ship_id}
Parameter Type Description
ship_id* string ID of the ship

About

A NextJS App which displays the SpaceX fleet ships in SpaceX from SpaceX API.

https://spacex-ships-one.vercel.app/


Languages

Language:JavaScript 71.5%Language:CSS 28.5%