A simple web app that uses PineJS on the backend and React on the front-end.
The app shows preferred working hours for your globally-distributed team, letting you easily find mutually convenient times to meet, etc.
You'll need to create a postgres database for use with this app. For example:
$ createuser -W pinejsUser
$ createdb pinezones -O pinejsUser
-
Clone this repo:
$ git clone git@github.com:grahammcculloch/pinezones.git
-
Install dependencies:
$ cd pinezones && npm install
-
Rename
env.local
to.env.local
and replace<YOUR-LOCAL-POSTGRES-DB-STRING>
with the DATABASE_URL of your local postgres database (includes the user and password). If you used the exact user, password and database name from the pre-requisites section and a password ofpinejsPassword
, your DATABASE_URL should look like this:
postgres://pinejsUser:pinejsPassword@localhost:5432/pinezones
-
Start the server:
$ npm run start-server
-
Start the front-end app:
$ npm run start-app
-
The app will be running at
https://localhost:3000
in your browser.
Ask Graham directly for an import script and exported Balena team data!