Skip to content

ft-ally/gethomesafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetHomeSafe Logo

get home safe is a web app exploring the TomTom Maps SDK for JavaScript by building a safety-focused routing application. Features planned include route planning, location tracking, and real-time sharing capabilities.

How to Run

You'll need to have the following:

  • Node.js (brew install node if you are on Mac, otherwise you gotta figure it out)
  • A TomTom API key (you can get one at TomTom Developer Portal)

Setup

  1. Install dependencies:

    npm install
  2. Set up your API key:

    • Copy .env.example to .env
    • Add your TomTom API key to .env:
      VITE_API_KEY=your_api_key_here
      

Note: always double check your .env is in the .gitignore!!!

  1. Run the development server:

    npm run dev
  2. Open your browser:

    • Navigate to http://localhost:5173 (or the URL shown in your terminal)

Why Vite?

This project uses Vite as a build tool :)

  • It handles environment variables securely (the VITE_ prefix)
  • It enables ES6 modules in the browser
  • It provides hot module reloading for faster development

Vite is installed automatically when you run npm install.

About

Exploring the TomTom Maps SDK for JavaScript by building a safety-focused routing application. Features planned include route planning, location tracking, and real-time sharing capabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors