This app is designed for hang gliding and paragliding pilots who want to keep records of their flights.
logbook.koifly.com - Live app
- Keep a log of your flights
- Store information about your flying spots (sites) and gliders
- See your flights and sites on the map
- Analyze your progress with app statistics
- Access from anywhere, on any device
- Flight tagging and advanced search
- More fields, more statistics
- Data export
- Offline app
- Node, Hapi, Webpack, Babel, React, React Router
- test setup: Testing Library, Mocha, Chai, Sinon, jsDOM
git clone
this projectnpm install
to download dependenciescp -i src/secrets-sample.js src/secrets.js
, then add your database credentials and other app setting to this file.cp -i src/frontend-assets-sample.js src/frontend-assets.js
, then add your server side API keys and other configuration.- Create MySQL database, then run
npm run db_migrate
to create DB tables (note: this requires all previous steps to be done)
Run in Development Mode:
npm run dev
to start Hapi application servernpm run webpack
in another terminal session to start webpack dev server- Keep these terminal sessions open while developing. Hot Module Reloading will pick up your code changes and reload your app.
- You need to restart the webpack process if you make changes to the webpack configuration.
Simple Production Setup:
npm install -g forever
globallynpm run build
to generate frontend bundlesnpm run forever_start
to start the application server
Anastasia Kaplina