mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 18:56:58 +00:00
API Explorer II
|
|
||
|---|---|---|
| .vscode | ||
| public | ||
| server | ||
| src | ||
| .env.example | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc.json | ||
| auto-imports.d.ts | ||
| components.d.ts | ||
| env.d.ts | ||
| index.html | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| tsconfig.server.json | ||
| tsconfig.vitest.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| yarn.lock | ||
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.
Development Project Setup
- Setup your .env (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
Lint with ESLint
yarn lint
or
npm lint
Format with Prettier
yarn format
or
npm format
Compile and Minify for Production
Build the frontend
yarn build
or
npm build
Build the backend
yarn build-server
or
npm build-server
Start the backend server
your-absolute-path-to-server-dist> node app.js
Nginx deployment
server {
# Frontend
location / {
root /your_absolute_path_to_dist/dist;
try_files $uri $uri/ /index.html;
}
# Proxy API
location /api {
proxy_pass http://localhost:8085;
}
}
nginx -s reload //Restart your nginx
LICENSE
This project is licensed under the AGPL V3 (see NOTICE) and a commercial license from TESOBE.