https://github.com/ruthmoog/bee
๐ A mobile application for surveying bumblebees.
https://github.com/ruthmoog/bee
hackathon hackathon2023
Last synced: 3 months ago
JSON representation
๐ A mobile application for surveying bumblebees.
- Host: GitHub
- URL: https://github.com/ruthmoog/bee
- Owner: ruthmoog
- License: mit
- Created: 2023-05-05T11:05:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T17:38:14.000Z (10 months ago)
- Last Synced: 2025-03-22T13:37:40.117Z (3 months ago)
- Topics: hackathon, hackathon2023
- Language: JavaScript
- Homepage: https://purple-wood-8308.fly.dev/
- Size: 140 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Bee
## A mobile application for surveying bumblebees[](https://purple-wood-8308.fly.dev/)
[](https://www.websitecarbon.com/website/purple-wood-8308-fly-dev/ )
_Cleaner than 100% of pages tested_[](https://websiteemissions.com/)
[]([https://purple-wood-8308.fly.dev/](https://dev.to/devteam/github-dev-2023-hackathon-winners-announced-236o))
- Deployed site: https://purple-wood-8308.fly.dev/

## Info and Background
### [Bumblebee Conservation Trust: Bee Walk Survey Scheme](https://beewalk.org.uk/)
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](https://gist.github.com/ruthmoog/3189d06a9a37defef5896562bc2f8180)
Project summary including the original Bee Walk process, domain definitions, and user stories.### ["Bee, a mobile app for citizen science." on Dev.to](https://dev.to/ruthmoog/bee-2op1)
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
```bash
npm run playwright-test
```To see tests run in a UI add the `--ui` flag
```bash
npm playwright-test-ui
```View test logs
```bash
npx playwright show-report
```### Run the app
Run on local browser or deployed app by updating `playwright.config.js` baseURL
```javascript
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.