Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Tracking Snowy Owls Across Canada

License

NotificationsYou must be signed in to change notification settings

humphd/snowy-owls-ca

Repository files navigation

Begin build status

A web app to help people find Snowy Owls across Canada.

Screenshot of app's map showing sighting data

Setup

npm install

You also need to install dependencies for the HTTP functions:

cd src/http/get-recentnpm installcd src/http/post-analyticsnpm install

eBird Token

You need to request aneBird API Token. Set thevalue of your token in a new file,.arc-env:

@testingAPI_KEY your-token-here

Development

To start a local development server:

npm run dev

Navigate tohttp://localhost:3000. Usectrl+c twice to kill the two servers.

Testing

To run linting and tests:

npm run lintnpm test

Building

To build a production bundle inout/:

npm run build

Deploying

To deploy to staging, push to themain branch.Staging is always running what's onmain.

To deploy to production, create a tag:

git tag -a 1.x.y -m "v1.x.y"git push origin 1.x.y

Notes

  • if new HTTP functions are added tosrc/http/*, remember to also add rewrite rules to the custom dev server for local development:dev.js
  • make sure the entire dev environment stays under ~500M. Usenpm run size to check it.

[8]ページ先頭

©2009-2025 Movatter.jp