API Explorer II
Go to file
Simon Redfern da7bfe1703
Merge pull request #72 from constantine2nd/develop
Add VITE_OBP_API_PORTAL_HOST to frontend_build.env
2024-11-26 16:01:34 +01:00
.github/workflows update gh actions checkout non develop branch 2024-10-14 12:53:18 +02:00
.vscode WIP: API-Explorer-II 2023-03-29 23:22:33 +08:00
Dockerfiles bugfix/Add VITE_OBP_API_PORTAL_HOST to frontend_build.env 2024-11-26 15:40:21 +01:00
public Add chatbot frontend UI 2024-05-26 17:39:30 +01:00
server feature/Enable API Explorer II for OBP API split portal/API mode 2024-11-26 13:30:31 +01:00
src feature/Enable API Explorer II for OBP API split portal/API mode 2024-11-26 13:30:31 +01:00
.dockerignore container build pipeline 2024-05-14 11:02:58 +02:00
.env.example feature/Enable API Explorer II for OBP API split portal/API mode 2024-11-25 11:59:00 +01:00
.eslintrc.cjs REFACTOR: moved obp client to backend 2023-05-04 01:17:01 +08:00
.gitignore Merge remote-tracking branch 'upstream/develop' into develop 2024-08-22 10:55:20 +02:00
.prettierrc.json WIP: API-Explorer-II 2023-03-29 23:22:33 +08:00
auto-imports.d.ts improve docs 2024-08-15 12:53:46 +01:00
components.d.ts CSS Styling 2024-05-28 12:02:33 +01:00
env.d.ts WIP: API-Explorer-II 2023-03-29 23:22:33 +08:00
index.html feature/Tweak font to Roboto 2024-02-15 09:45:45 +01:00
NOTICE Create NOTICE 2023-05-08 14:30:05 +02:00
package.json feature/Enable API Explorer II for OBP API split portal/API mode 2024-11-26 13:30:31 +01:00
README.md Merge remote-tracking branch 'upstream/develop' into develop 2024-06-27 15:52:33 +02:00
tsconfig.app.json WIP: styling and authentication 2023-04-20 14:04:46 +08:00
tsconfig.json WIP: styling and authentication 2023-04-20 14:04:46 +08:00
tsconfig.node.json WIP: styling and authentication 2023-04-20 14:04:46 +08:00
tsconfig.server.json docfix/Enhance the redme file regarding the build process 2024-05-09 10:49:16 +02:00
tsconfig.vitest.json WIP: styling and authentication 2023-04-20 14:04:46 +08:00
vite.config.mts switch to type module 2024-10-15 09:26:06 +02:00
vitest.config.ts switch to type module 2024-10-15 09:26:06 +02:00
yarn.lock initial connection success 2024-08-05 17:13:36 +01:00

Welcome to the OBP API Explorer II

ABOUT

This application is used to explore OBP APIs and interact with the data and services in the context of the logged in user.

This application will gradually replace the original API Explorer. Long live the API Explorer!

Install the Prerequisite Software

  • required: { node: >=16.14 }
  • required: { npm: >=8.0.0 }

Development Project Setup

  • Setup your .env file (see .env.example)
Install dependencies
yarn install

or

npm install
Compile and Hot-Reload for Development
yarn dev

or

npm run dev
Run Unit Tests with Vitest
yarn test:unit

or

npm test:unit

Compile and Minify for Production

Build
npm run build
Build Server
npm run build-server
Start the backend server
npx ts-node <path-to-your-install>/server/app.js
Check the status of API-Explorer II back-end
Please find a message at a log file similar to this one:

Backend is running. You can check a status at http://localhost:8085/api/status

and use the link to check the status
Nginx deployment
server {
    # Frontend
    location / {
        root    /path_to_dist/dist;
        try_files $uri $uri/ /index.html;
    }
    
    # Proxy API
    location /api {
        proxy_pass http://localhost:8085;
    }
}

LICENSE

This project is licensed under the AGPL V3 (see NOTICE) and a commercial license from TESOBE.