This take home exercise consists of a Node/Express/Typescript API located in "./api" and a static FE app using React/Typescript/Vite located in the base directory. The FE fetches country data from the API based on form submission data and displays it within a table. The API is configured to handle GET requests to /countries/:id
. It handles these requests by querying a public graphql API and modifying the queried data slightly before responding with results.
- Clone repository
npm i
npm run dev
- Open new terminal
cd api
npm i
npm start
- Navigate to
http://localhost:4000
within your browser