This project was bootstrapped with Create React App and uses styled components from Material UI. The application is a PWA that allows for mobile entry of SaaS project time cards. Upon submitting a timecard, the data is saved to an Oracle database and is further processed before being loaded to Oracle SaaS Project Cost Accounting. The additional processing consists of distributing each time entry to the various grant awards that fund a particular project. This is a common requirement of public sector agencies that receive grant funding.
The main SaaS API used is importBulkData
which is a SOAP API that emulates the File Based Data Load process for sending Excel-based timesheet data to Projects cloud. The back end PL/SQL code is not included in this repo but is hosted on apex.oracle.com.
- Clone this repo to a local directory on your host machine.
- CD into that directory and run
npm install
npm run
to run a version on your local machine- Open http://localhost:3000 to view it in the browser.
These are sample commands that can be used to build the docker container and push to dockerhub. From there it can be delpoyed to any OCI K8 cluster in your tenancy using the included deployment.yaml.
- Build the Docker container
docker build -t [dir]/[tag] .
docker push [dir]/[tag]
kubectl deploy -f deployment.yaml
Deploying to a third pary like Vercel is easier, assuming you have the Vercel OCI installed:
npm build
- CD into build folder
$ vercel
- Accept defaults and note URL. It's deployed!