Reference app for tracking time, projects, and tasks. Built with React. Leverages the Golang Time Tracking API.
To start the app make sure dependencies are installed:
npm install
and run
npm start
which will start the app on localhost:3000
The app relies on the a VITE_REACT_APP_API_URL
environment variable to connect to the Time Tracking API. The default of http://localhost:8000 is set in the .env.development
configuration file.
To build production assets run:
npm run build
And then open ./dist/index.html
using a web server. For example:
cd dist
npx serve
Ensure the VITE_REACT_APP_API_URL
environment variable is set for the production API.