No description
Find a file
Eric Nguyen 29625dce28
All checks were successful
continuous-integration/drone/push Build is passing
Merged PR 164: Clear the leftover TODOs
- Remove nullable type from container.properties.parentId
- Add Swal when trying to delete main container
- Moved default editor state to default.ts
- Moved default symbol model to default.ts
2022-08-22 15:03:46 +00:00
docs Merged PR 163: Remove the static form + rename some components for clarity 2022-08-22 14:37:25 +00:00
public Merged PR 162: Implement symbols and other stuff (see desc) 2022-08-22 13:58:32 +00:00
src Merged PR 164: Clear the leftover TODOs 2022-08-22 15:03:46 +00:00
test-server Merged PR 162: Implement symbols and other stuff (see desc) 2022-08-22 13:58:32 +00:00
.drone.yml drone: fix using npm ci 2022-08-17 15:55:38 +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 Add swals + Remove incompatible saves + add new tests 2022-08-18 12:13:51 +02:00
.gitattributes Implement events for external use + Rename interfaces with a I prefix + add some documentation (#26) 2022-08-12 06:36:14 -04:00
.gitignore Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
azure-pipelines.yml Merged PR 162: Implement symbols and other stuff (see desc) 2022-08-22 13:58:32 +00:00
index.html App.scss: Move public style to public css file 2022-08-11 23:41:18 +02:00
package-lock.json Optimize history and fix nodes pollution + fix css + removes motion.framer (#28) 2022-08-12 16:31:37 -04:00
package.json Add swals + Remove incompatible saves + add new tests 2022-08-18 12:13:51 +02:00
pnpm-lock.yaml Add swals + Remove incompatible saves + add new tests 2022-08-18 12:13:51 +02:00
postcss.config.cjs Initialise project with Vite, React, SCSS, Tailwind, ESLint 2022-07-30 11:38:17 +02:00
README.md Merged PR 17: Implement rigid body Fix multiple bugs 2022-08-11 08:43:10 +00:00
tailwind.config.cjs Implement SmartMenuiserie API + added bun test-server 2022-07-30 19:56:41 +02:00
tsconfig.json Fix build version of the project because of web workers 2022-08-17 17:47:16 +02: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

Build Status

Build Status

Build Status

An svg layout designer.

Getting Started

Requierements :

  • NodeJS
  • npm
  • pnpm (optional but recommanded unless you prefer having a huge node_modules directory)

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