@openware/create-opendax-web-app
v4.0.4
Published
Opendax web application project generator
Downloads
51
Readme
Create Opendax V4 Web App
Create Opendax Web apps with no build configuration. Base on Next JS.
Create Opendax Web App works on macOS, Windows, and Linux.
You’ll need to have Node 16.0.0 or later version on your local development machine (but it’s not required on the server). We recommend using the latest LTS version. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
Creating an App
npx
npx @openware/create-opendax-web-app
(npx is a package runner tool that comes with npm 8.1+ and higher)
(enter name: my-app)
It will create a directory called my-app inside the current folder. Inside that directory, it will generate the initial project structure and install the dependencies.
Once the installation is done, you can open your project folder:
cd my-app
Inside the newly created project, you can run some built-in command:
npm run dev
Runs the app in development mode. Open http://localhost:3001 to view it in the browser.
Start mockserver
- install dependencies:
npm i npm-run-all colors header-case-normalizer js-combinatorics --save-dev
- run mockserver:
npm explore @openware/opendax-web-sdk -- npm run mockserver