/SpaceX-project

[Home Assignment Test] Ethereum staking deposits and Start Wars search engine

Primary LanguageTypeScript

SpaceX project - Home Assignment Test

Start Wars search and Ethereum staking deposits. This project consist of two pages:

  1. Home, where you can search and navigate through different Star Wars entienes: People, Planets, Starships, Species and Vehicles. It allows you to search by name and filter by category (or entity). Makes use of the public API Swapi.
  2. Deposits, where you can watch the latest deposits happening in the Ethereum staking contract. The user must have their wallet connected to the Ethereum mainnet network to be able to view this page.

Latest deployment: https://space-x-project-seven.vercel.app/

Getting Started

First, install all the dependencies:

$ npm install

Next, you have to rename .env.example to .env.loca and populate the env vars with values.

Lastly, run the development server:

$ npm run dev

Open http://localhost:3000 with your browser to see the result.

Build for production

Run the following:

$ npm run build

Tests

To run the unit tests:

$ npm test