├── .env
├── .env.sample
├── .gitignore
├── Dockerfile
├── README.md
├── conf
└── conf.d
│ └── default.conf
├── docker-compose.yml
├── mime.types
├── nginx.conf
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── images
│ ├── icon-lg.png
│ └── icon-sm.png
├── index.html
└── manifest.json
└── src
├── App.test.js
├── components
├── App.js
├── FooBar.js
├── Header.js
├── Icon.js
├── NotFound.js
├── Offices.js
├── OfficesSelect.js
├── OfficesTable.js
├── PageTitle.js
├── Preload.js
└── ToggleTheme.js
├── constants.js
├── helpers.js
├── images
├── logo-lg.png
├── logo-sm.png
├── logo.png
└── logo.svg
├── index.js
├── registerServiceWorker.js
├── styles
├── Preload.css
├── check_box.svg
├── check_box_outline_blank.svg
└── default.css
└── symbol-defs.svg
/.env:
--------------------------------------------------------------------------------
1 | PUBLIC_URL=
--------------------------------------------------------------------------------
/.env.sample:
--------------------------------------------------------------------------------
1 | PUBLIC_URL=
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 |
6 | # testing
7 | /coverage
8 |
9 | # production
10 | /build
11 |
12 | # misc
13 | .DS_Store
14 | .env.local
15 | .env.development.local
16 | .env.test.local
17 | .env.production.local
18 |
19 | npm-debug.log*
20 | yarn-debug.log*
21 | yarn-error.log*
22 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | # Build environment
2 | FROM node:9.6.1 as builder
3 |
4 | RUN mkdir /usr/src/app
5 | WORKDIR /usr/src/app
6 | ENV PATH /usr/src/app/node_modules/.bin:$PATH
7 |
8 | ENV PUBLIC_URL /office-table
9 |
10 | COPY package.json /usr/src/app/package.json
11 | RUN npm install --silent
12 | RUN npm install react-scripts@1.1.1 -g --silent
13 |
14 | COPY . /usr/src/app
15 |
16 | RUN npm run build
17 |
18 | # Production environment
19 | FROM nginx:1.13.9-alpine
20 |
21 | RUN rm -rf /etc/nginx/conf.d
22 | COPY conf /etc/nginx
23 | COPY --from=builder /usr/src/app/build /usr/share/nginx/html
24 |
25 | EXPOSE 80
26 | CMD ["nginx", "-g", "daemon off;"]
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
2 |
3 | Below you will find some information on how to perform common tasks.
4 | You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).
5 |
6 | ## Table of Contents
7 |
8 | - [Updating to New Releases](#updating-to-new-releases)
9 | - [Sending Feedback](#sending-feedback)
10 | - [Folder Structure](#folder-structure)
11 | - [Available Scripts](#available-scripts)
12 | - [npm start](#npm-start)
13 | - [npm test](#npm-test)
14 | - [npm run build](#npm-run-build)
15 | - [npm run eject](#npm-run-eject)
16 | - [Supported Browsers](#supported-browsers)
17 | - [Supported Language Features and Polyfills](#supported-language-features-and-polyfills)
18 | - [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor)
19 | - [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor)
20 | - [Debugging in the Editor](#debugging-in-the-editor)
21 | - [Formatting Code Automatically](#formatting-code-automatically)
22 | - [Changing the Page `