/Sapper

This Sapper extend SAP functionality By creating a React Web app using a Dhiwise, Figma design and SAP API.

Primary LanguageJavaScript

Sapper

This Sapper extend SAP functionality By creating a React Web app using a Dhiwise, Figma design and SAP API.

Table of Contents

Features

  • Translation page
    • Translation of one language to another
    • write in one language and get the translation in multiple languages by downloading the csv file.
  • List of Purchase order/Purchase items/invoices/Ship notices

Screenshots

sapper1 sapper2 sapper3

Setup

1. Clone the repository

$ git clone https://github.com/jemeetala/Sapper.git
$ cd Sapper

Install Dependencies

npm install

Note: Visit https://cors-anywhere.herokuapp.com/corsdemo and click on "Request temporary access to the demo server" button to avoid CORS erros.

Running the App

npm start

Running the storybook

We have detected common components and have generated possible variants of it. To check the documentation of generated common components by integrating storybook, Please follow below steps.

Install and Initializes

 npx storybook init

Run the Storybook

  npm run storybook

Version of Technologies

  • git - v2.13 or greater
  • NodeJS - 12 || 14
  • npm - v6 or greater

Folder Structure

After creation, your project should look like this:

.
├── package.json
├── package-lock.json
├── postcss.config.js
├── public
│   ├── favicon.ico
│   ├── index.html
│   ├── logo192.png
│   ├── logo512.png
│   ├── manifest.json
│   └── robots.txt
├── README.md
├── src
│   ├── App.js
│   ├── assets
│   │   ├── fonts ---------- Project fonts
│   │   └── images --------- All Project Images
│   ├── components --------- UI and Detected Common Components
│   ├── constants ---------- Project constants, eg: string consts
│   ├── hooks -------------- Helpful Hooks
│   ├── index.js
│   ├── pages -------------- All route pages
│   ├── Routes.js ---------- Routing
│   ├── styles
│   │   ├── index.css ------ Other Global Styles
│   │   └── tailwind.css --- Default Tailwind modules
│   └── util
│       └── index.js ------- Helpful utils
└── tailwind.config.js ----- Entire theme config, colors, fonts etc.

For the project to build, these files must exist with exact filenames:

  • public/index.html is the page template;
  • src/index.js is the JavaScript entry point.

You may create subdirectories inside src. For faster rebuilds, only files inside src are processed by Webpack. You need to put any JS and CSS files inside src, otherwise Webpack won’t see them.

Only files inside public can be used from public/index.html. Read instructions below for using assets from JavaScript and HTML.

You can, however, create more top-level directories. They will not be included in the production build so you can use them for things like documentation.

Installed Dependency

The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with npm:

  1. @tailwindcss/forms - 0.4.0
  2. @testing-library/jest-dom - ^5.15.1
  3. @testing-library/react - ^11.2.7
  4. @testing-library/user-event - ^12.8.3
  5. axios - ^0.27.2
  6. lodash - ^4.17.21
  7. prop-types - ^15.8.1
  8. react - 17.0.2
  9. react-datepicker - ^4.5.0
  10. react-dom - 17.0.2
  11. react-modal - ^3.14.4
  12. react-router-dom - 6.0.2
  13. react-router-hash-link - ^2.4.3
  14. react-scripts - 5.0.0
  15. react-select - ^5.2.1
  16. react-toastify - ^9.0.1
  17. recharts - ^2.1.9
  18. simple-react-hook-form - ^1.0.4
  19. underscore - ^1.13.4
  20. web-vitals - ^2.1.0

License

Copyright (c) 2022 DhiWise

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Community