Code Monkey home page Code Monkey logo

miiproxyserver's Introduction

Proxy server for SAP MII

This proxy act as a connector between MII server and local webserver. With the use of this proxy we can consume data from MII in local ui5 application developed in VS code and pull/push code from mii workbench.

image

commands

  • npm run pull to pull the code from mii workbench folder
  • npm run start to start the node server
  • npm run push to push changes back to mii workbench.

Prerequasites

  1. Install latest version of node js from official website. Make sure you configured path environment variable.
  2. Install VS code from official website

Server setup

  1. Download the project files from later release and extract the files.
  2. open config.json file and configure your mii user name, mii server details and your ui5 root folder path.
  • by default given illumnator and Runner servers end points in the configs file. in case your using any other mii services, include them in the endpoints

image

  1. open the terminal in vs code by pressing ctrl+shift+` . Make sure your in the root folder(i.e miiproxyserver folder)
  2. run npm install in terminal. this will install all the required modules.

image

  1. Open the terminal in the vs code and run the cmd npm run pull. This will pull the code from your mii server and place in the webapp folder.

image

  1. run npm run start command in terminal. This will start node server at port 3000. in case this port is already used by any other application or service change the port number in configs.json file. it will ask for your mii server password. enter your password in the terminal and press enter.

image

  1. Open any browser and run http://localhost:3000/index.html
  • it will show the your ui5 app. that means your server is correctly configured.

8.Once you done with your changes, run the cmd npn run push to push your changes back to mii workbench.(before pushing check all the changed file at ./data/modifiedFiles.json file. it containes all the modified files.)

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.