ruthmoog / bee

🐝 A mobile application for surveying bumblebees.
https://purple-wood-8308.fly.dev/
MIT License
2 stars 0 forks source link
hackathon hackathon2023

Bee

A mobile application for surveying bumblebees

Bee web app status

website carbon Cleaner than 100% of pages tested

EFWA website emissions

GitHub x Dev Hackathon 2023

Bee Project

Info and Background

Bumblebee Conservation Trust: Bee Walk Survey Scheme

BeeWalk is a national recording scheme run by the Bumblebee Conservation Trust to monitor the abundance of bumblebees on transects across the country.

Gist: Introducing Bee idea for Dev.to x GitHub Hackathon

Project summary including the original Bee Walk process, domain definitions, and user stories.

"Bee, a mobile app for citizen science." on Dev.to

Our submission to the GitHub x Dev.to Hackathon 2023, Phone Friendly category. "Developers can use Codespaces or Actions to create mobile applications that work on both iOS and Android devices, as well as set up automation workflows and CI/CD pipelines for their PWA ready apps."

Getting Started

Dependencies

Run npm i to fetch and install dependencies

Build

npm run watch (or run from package.json)

Run tests

Unit tests

npm test (or run from package.json)

End to end tests

Import playwright to run all e2e tests including mobile view ports

npm run playwright-test

To see tests run in a UI add the --ui flag

npm playwright-test-ui

View test logs

npx playwright show-report

Run the app

Run on local browser or deployed app by updating playwright.config.js baseURL

module.exports = defineConfig({
    ...
  use: {
    /* Base URL to use in actions like `await page.goto('/')`. */
    // baseURL: 'http://localhost:8080', 
    baseURL: 'https://purple-wood-8308.fly.dev/', 
    ...
    }
})

Deploy

Continuous deployment is enabled through github actions; push to main to deploy automatically.