Follow these instructions to install canvas: https://github.com/Automattic/node-canvas/wiki/Installation:-Windows Note: I had to downgrade my node version to the latest 15, as of writing this it's the latest version of node supported by Canvas
npm i
npm i -g nodemon
npm run start
Open browser to http://localhost:8124/ (should display in console to ctrl click)
Notable issues that I don't care enough to fix:
- You have to save files twice. I don't get why nodemon does a fresh reload of files every second restart, but it works.
- I'm sure there's a much better and easier way to show live updates of the image, I just couldn't get anything to work.
- There's probably a decent amount of unused code already
Planned improvments:
- The whole point is to import a csv and create cards from that, no I don't think lorem ipsum makes good cards
- Image import per card
- Better text boxes