No description
Find a file
2022-08-05 10:42:47 -04:00
public Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
src Moved ContainerModel to Interfaces + replace all components to purecomponent (#12) 2022-08-05 10:36:40 -04:00
test-server Fix bun test-server 2022-08-05 12:06:15 +02:00
.drone.yml Remove bun installation from drone 2022-08-03 16:42:13 +02:00
.env.development Change API variable name 2022-07-30 20:24:58 +02:00
.env.production Change API variable name 2022-07-30 20:24:58 +02:00
.env.test Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest 2022-08-03 16:03:39 +02:00
.eslintrc.cjs Implement basic save/load (still needs some fixes) 2022-08-04 17:09:42 +02:00
.gitignore Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
index.html Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
package-lock.json Add vitest/ui 2022-08-04 18:32:24 +02:00
package.json Add vitest/ui 2022-08-04 18:32:24 +02:00
postcss.config.cjs Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
README.md Update Readme 2022-08-05 14:11:30 +02:00
tailwind.config.cjs Implement SmartMenuiserie API + added bun test-server 2022-07-30 19:56:41 +02:00
tsconfig.json Implement testing library (#2) 2022-08-03 08:45:16 -04:00
tsconfig.node.json Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
vite.config.ts Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest 2022-08-03 16:03:39 +02:00
vitest.config.ts Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest 2022-08-03 16:03:39 +02:00

SVG Layout Designer React

An svg layout designer.

Getting Started

Requierements :

  • NodeJS
  • NPM

Developping

Run npm ci

Run npm run dev

Deploy

Run npm ci

Run npm run build

Run the tests

Run npm ci

Run npm test

API

You can preload a state by setting the state URL parameter with a url address to a state.json file.

Example: http://localhost:4000/?state=http://localhost:5000/state.json

Testing the external API

This program fetch the data structure from others applications, allowing it to assemble them later.

With NodeJS

node run ./test-server/node-http.js

The web server will be running at http://localhost:5000

Configure the file .env.development with the url

With bun.sh

Install bun

Inside test-server folder, run :

bun run http.js

The web server will be running at http://localhost:5000

Configure the file .env.development with the url