Skip to content

dafnamargalit/mission-zero-pwa

Repository files navigation

Most recent version deployed at: https://mz-pwa-personal.vercel.app/

This is a Next.js project bootstrapped with create-next-app. This app works only on devices in which Web Bluetooth is enabled. The purpose of this app is to act as a control panel for the Mission Zero Electric Vehicle Ecosystem Exhibit as described here.

Getting Started

First, run the development server:

npm run dev
# or
yarn next dev

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

File Structure

pages/index.js

  • The main page where all components are loaded. Contains Web Bluetooth functions and initialization as well as the overall structure of the web app.

src/SendScreen.js

  • A general component for the screen that pops up based on the icon clicked (all specifics are passed in through props)

src/constants.js

  • Descriptions, icons, car colors all defined in this file.