Skip to content

trackterraorg/trackterra-ui

Repository files navigation

TrackTerra

This repo is the ui app for the TrackTerra. It is built using react using mui framework.

Configuration

Create a .env file and set this this var REACT_APP_API_URL=<api_url>

Installation

$ yarn install

Development

$ yarn start

Deployment

$ yarn build

It is recommended to use nginx as reverse proxy server when deploying node apps. Please refer to this link for more information.

Here is also another way to do it if using nginx directly:

after building the app copy the contents of build dir to www then configure a host in nginx and copy the following script

server {
  listen 80;
  listen [::]:80;
  root /var/www/html/ui/;
  index index.html index.htm;
  server_name localhost;
  location / {
      try_files $uri /index.html;
  }
}

Special Thanks

This project wouldn't be possible without this awesome project, Minimal.

License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published