Find a file
2021-04-20 19:46:31 +10:00
crabfit-backend Dev database 2021-04-12 13:06:10 +10:00
crabfit-browser-extension Chrome and Firefox extension 2021-04-15 18:04:28 +10:00
crabfit-frontend Updated recents style 2021-04-20 19:46:31 +10:00
.gitignore Dark mode toggle in settings 2021-04-12 12:09:10 +10:00
README.md Update instructions for extension 2021-04-15 22:11:07 +10:00

Crabfit avatar

Align your schedules to find the perfect time that works for everyone.

Crab Fit - Use your availability to find a time that works for everyone | Product Hunt

Setup

  1. Clone the repo.
  2. Run yarn in both folders.
  3. Run node index.js in the backend folder to start the API.
  4. Run yarn start in the frontend folder to start the front end.

Browser extension

The browser extension in crabfit-browser-extension can be tested by first running the frontend, and changing the iframe url in the extension's popup.html to match the local Crab Fit. Then it can be loaded as an unpacked extension in Chrome to test.

Deploy

Frontend

  1. In the frontend folder cd crabfit-frontend
  2. Run ./deploy.sh to compile and deploy.

Backend

  1. Deploy the backend cd crabfit-backend && gcloud app deploy --project=crabfit
  2. Deploy the endpoints service cd crabfit-backend && gcloud endpoints services deploy swagger.yaml

Browser extension

Compress everything inside the crabfit-browser-extension folder and use that zip to deploy using Chrome web store and Mozilla Add-on store.