Skip to content

Tiny typescript app with a node server and react front end to decide if surfing is possible and where the best bet will be depending on a surfer's availability

Notifications You must be signed in to change notification settings

phantomphildius/can-i-surf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An application designed to answer a simple question many desk jockeys ask themselves daily, "Can I surf today?". This app intends to solve this by allowing a user to select where they are and their available time window for that day and receive a few best bets given the parameters. Along with those best bets, you will see a more detailed time based forecast for thee chosen location. Ideally this takes most of the guess work out of deciding when and where to surf for those poor souls who only have a few minutes to get in the water. For ease of access, this will be designed with a mobile browser in mind. That being said, I don't intend to share this out too much to avoid crowding spots.

Navigating the repo

This repo contains the server side (server directory) and client side (client directory) code.

Surf forecasting data

The data used to power this application is from Magic Seaweed's public api.

About the author

I am an engineering manager at Betterment. I miss coding daily, writing typescript, and surfing everyday. This project is intended to help me scratch at least one of these itches at a time.

Feature Requests

Please fork the repo and open a pull request or leave an open issue for bugs or feature requests.

Setting up the project

To set up and confirm everything is working install node version 14 and follow the instructions below

# using the github cli
gh repo clone phantomphildius/can-i-surf
cd can-i-surf
yarn
cd client && yarn test
cd server && yarn test --watch

To develop locally request an api key after reading and agreeing to the terms and conditions. Then follow the below instructions and fill in your key

cd server
touch .env
vi .env

# ./server/.env
magic_seaweed_api_key=YOUR_KEY_HERE

About

Tiny typescript app with a node server and react front end to decide if surfing is possible and where the best bet will be depending on a surfer's availability

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published