Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BryanMorgan/time-tracking-app

Reference React application for tracking time in tasks across multiple projects. Leverages the Golang API in https://github.com/BryanMorgan/time-tracking-api.
https://github.com/BryanMorgan/time-tracking-app

projects react reports tasks time time-tracking tracking

Last synced: 3 months ago
JSON representation

Reference React application for tracking time in tasks across multiple projects. Leverages the Golang API in https://github.com/BryanMorgan/time-tracking-api.

Awesome Lists containing this project

README

        

# Time Tracking - React App

![CI](https://github.com/BryanMorgan/time-tracking-app/workflows/CI/badge.svg)

Reference app for tracking time, projects, and tasks. Built with React. Leverages the [Golang Time Tracking API](https://github.com/BryanMorgan/time-tracking-api).

# Starting
To start the app make sure dependencies are installed:
```
npm install
```

and run
```
npm start
```
which will start the app on [localhost:3000](http://localhost:3000)

### Notes
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.

## Production Mode
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.