Skip to content

๐Ÿš€ Stay updated on every rocket launch, from past milestones to future missions!

License

Notifications You must be signed in to change notification settings

kalkih/rocketboost

Repository files navigation

๐Ÿš€ ย  Rocketboost ย  Travis

Rocket launch tracking PWA built with VueJS, VueX & โค๏ธ

Project setup

npm install

Compile & hot-reload for development

npm run serve

Compile & minify for production

npm run build

Lint & fix errors

npm run lint

Test push notifications

npm run build:watch

and

npm run serve:dist

Go into DevTools -> "Applications" -> "Service Workers" and send a push from there with a JSON object. e.g.

{ "title": "Test message", "body": "This is a test message", "topic": "launch", "id": "2068" }

Configuration

Copy the base environment and edit the .local copy

cp .env.production .env.production.local

Example environment

VUE_APP_API_URL=https://api.example.app
VUE_APP_API_VAPID_PUBLIC_KEY=BIMSlo01XNTmTFT0rcrMluhMl0Vbls-t6DAXtbRBiFW_z_n9kF9KlxsEiyujlAEZhDDEJsxMlMxT86_OXxKNQeU
BASE_URL=https://example.app

License

This project is under the MIT license.