src
├── App.js : Information about React Routes
├── App.test.js
├── GlobalStyle.js
├── components: Contains all the UI Components that are reused throughout the Front End
├── BasicLayout.js
├── Nav.js
├── forms
└── Inputs.js
├── lc
└── LCView.js
└── ui
├── Button.js
├── Dropdown.js
├── Popup.js
├── ResizableScreenDiv.js
├── RouteBlockingPopup.js
└── StatusMessage.js
├── config.js
├── history.js
├── images
└── logo.png
├── index.js
├── pages : the page displayed for Businesses and Banks
├── HomePage
└── HomePage.js
├── LCViewPage : Pages that display the specifics of an LC
├── DocumentaryRequirements.js : Displays the Documentary Requirements on the LCViewPage
├── LCViewPage.js
├── Panel.js
└── Pdf.js
├── LoginPage
└── LoginPage.js : Logging into LC Tool
├── bank
Sign up Page for Banks and their Employeess
├── BankEmployeeSignUpPage.js
├── BankInvitePage.js
├── BankLCAppPage.js : Application for Business Applying for LC
├── BankManageAccountPage.js
├── BankSignUpPage.js
└── feeds
General Displays for Bank Viewing LCs and Clients
├── AdvisorLCFeedPage.js
├── BankClientFeedPage.js
├── BankLCAppFeedPage.js
├── BankLCAppFeedPageAdvisor.js
├── BankLCFeedPage.js
├── BankLCFeedPageAdvisor.js
├── BankLCFeedPageByClient.js
├── BankLiveLCFeedPage.js
├── BankLiveLCFeedPageAdvisor.js
├── ClientFeed.js
└── LCFeed.js : Component for viewing all the LCs as cards
└── ManageClientFeed.js
└── business
sign up pages for businesses and their employees
├── BusinessEmployeeSignUpPage.js
├── BusinessInvitePage.js
├── BusinessManageAccountPage.js
├── BusinessSignUpPage.js
├── beneficiary
│ └── ClaimBeneficiaryStatusPage.js
└── feeds:
├── BankDirectoryPage.js
├── BeneficiaryLCFeedPage.js
├── BusinessLCFeed.js
└── ClientLCFeedPage.js
├── setupProxy.js
├── setupTests.js
└── utils
├── api.js
└── auth.js
FAQ:
- Icons from fort-awesome... documentation can be found at https://www.npmjs.com/package/@fortawesome/react-fontawesome
- Forms Using Formik API (visit https://formik.org/docs/tutorial) for more details
in src/App.js:
- React Router checks if user exists (is logged in) and the type of user (business or bank) before navigating to the page... otherwise redirects
in src/pages/bank/BankLCAppPage.js:
- https://peaceful-journey-01245.herokuapp.com/https://hts.usitc.gov/api/search?query=${value} is the endpoint to grab the hts code/description based on search parameters from the government server (ask Rohil about heroku server details/credentials)
- Questions for The Application coming from
/bank/${match.params.bankid}/digital_app/endpoint, NOT the values.py file
in src/pages/bank/feeds:
- Different feeds for Banks based on Live LCs/Applications/Both as Issuers and Advisors