No description
Find a file
Eric NGUYEN b07acdb83d
Some checks failed
continuous-integration/drone/push Build is failing
drone.yml: Add Bun to PATH
2022-08-03 16:05:24 +02:00
public Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
src Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest 2022-08-03 16:03:39 +02:00
test-server http.js: Fix wrong pathname for SplitRemplissage 2022-08-03 15:16:54 +02:00
.drone.yml drone.yml: Add Bun to PATH 2022-08-03 16:05:24 +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 testing library (#2) 2022-08-03 08:45:16 -04: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 Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest 2022-08-03 16:03:39 +02:00
package.json Implement testing library (#2) 2022-08-03 08:45:16 -04:00
postcss.config.cjs Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
README.md Implement testing library (#2) 2022-08-03 08:45:16 -04: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

Testing the API

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

Install bun

Inside test-server folder, run :

bun run http.js

The web server will be running at localhost:5000

Configure the file .env.development with the url

Deploy

Run npm ci

Run npm run build

Run the tests

Run npm ci

Run npm test