Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.72 KB

README.md

File metadata and controls

49 lines (34 loc) · 2.72 KB

IP Address Tracker

IP Address Tracker web application

Head over to ip.davebitter.com for a demo.

I build this IP Address Tracker as a demo project to show how you can build an interactive web application using Remix. Head over to About>Remix for more information on the framework itself.

I use this web application as part of a talk on the basics of Remix. Head over to my website for an overview of the talks I give and/or shoot me a message at daveybitter@gmail.com if you are interested in me giving this talk at your event!

This application is a more extensive version of this frontend challenge by frontendmentor.io. The goal is to create a nicely designed web application that will make some calls to an API to retrieve information for a passed IP address and display an interactive map with the retrieved location.

APIs

IP Address Tracker uses several APIs to retrieve data.

Getting started

Run development environment

  • yarn dev or npm run dev - starts the development environment with auto reloading and all that good stuff. Open http://localhost:3000 to view it in the browser.

  • yarn dev:netlify or npm run dev:netlify - starts the development environment as it would be ran on Netlify. Open http://localhost:3000 to view it in the browser.

Scripts

Besides these development scripts, there are many more scripts set up:

  • clean - Cleans build folder
  • deploy:netlify - Deploys to Netlify
  • postinstall - Sets up Node
  • start - Starts Remix server

Tech stack

Remix

IP Address Tracker uses Remix to

  • provide SSR React.js. Pages are automatically optimised to deliver the best experience.
  • handle routing
  • generate builds
  • and more

TypeScript

IP Address Tracker used TypeScript for static checking and documentation. You can view the Typescript config in ./tsconfig.json.

Tailwind

IP Address Tracker used Tailwind to make it easy to implement the design for this challenge.

Netflify (CI/CD)

IP Address Tracker uses Netlify (♥️) to build, deploy and optimise.