Skip to content

ruthmoog/bee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

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

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

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

  • nodejs v20

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.