GithubHelp home page GithubHelp logo

jkolden / funds-distr-pwa Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.45 MB

PWA in React that loads labor cost to Oracle Cloud via importBulkData API

JavaScript 94.90% Dockerfile 0.36% HTML 2.68% CSS 2.06%

funds-distr-pwa's Introduction

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.

Instructions to run and deploy:

  • 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.

Screen Shots of PWA: image

Deployment to OCI

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

Deployment to Vercel

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!

funds-distr-pwa's People

Contributors

jkolden avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.