The olympic-coast-treks
package provides a frontend and backend
for planning multi-night backpacking treks along the the Olympic Coast
in Washington, taking into account route information, tide levels,
tidal restrictions, and sunrise and sunset times.
Use the deployed web app (https://olympic-coast-treks.web.app) to plan routes.
While this tool is designed to assist with planning, it is not intended to be a replacement for more detailed analysis on the part of the hiker. Any route suggestions provided should be checked against the latest maps, tide tables, and any information provided by Olympic National Park, the Ozette Indian Reservation, and the Makah Reservation.
Refer to the software license for information about use and liability.
We recommend using uv
.
git clone https://github.com/pjireland/olympic-coast-treks.git
Then navigate to the backend
subdirectory within olympic-coast-treks
.
From within the backend
subdirectory:
uv sync
From within the backend
subdirectory:
make test
From within the backend
subdirectory:
make style
From within the backend
subdirectory:
make api
API docs can be then be accessed via http://localhost:8000/docs.
npm
is needed to serve the frontend.
We recommend using the Node Version Manager (nvm
) to install npm
.
Directions for installing nvm
are available
here.
Once npm
is installed, call npm run dev
from within the frontend
subdirectory to serve the frontend locally.
Note to make API calls from the front end, you'll need to also have a local
API running, per the earlier directions.