Create and send cookie-cutter emails
Find a file
Badri Sunderarajan 27b41a4523 Allow re-editing draft after table has been generated
This does two things:

1. If the TKs in the draft has changed, add/remove the corresponding
   columns from the table

2. Either way, update the preview so it matches the draft text

All this only happens once you click the "Refresh" button, because
we don't want to be putting *too much* load on the app also 😜
2021-05-28 20:45:56 +05:30
public Implement Step One: drafting of email and [TK insert] detection 2021-05-14 09:30:32 +05:30
scripts Initial commit with basic Svelte project 2021-04-29 15:21:32 +05:30
src Allow re-editing draft after table has been generated 2021-05-28 20:45:56 +05:30
.gitignore Initial commit with basic Svelte project 2021-04-29 15:21:32 +05:30
package.json Render email preview from Markdown! 2021-05-14 19:03:20 +05:30
README.md Add original icons for reference (along with appropriate credit!) 2021-05-28 19:56:19 +05:30
rollup.config.js Initial commit with basic Svelte project 2021-04-29 15:21:32 +05:30
server.js Set up Express 2021-04-29 16:42:34 +05:30
yarn.lock Render email preview from Markdown! 2021-05-14 19:03:20 +05:30

Looking for a shareable component template? Go here --> sveltejs/component-template


chipchoc

Create and send cookie-cutter emails

Get started

Install the dependencies...

cd chipchoc
yarn

...then start Rollup:

nyarn dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Building and running in production mode

To create an optimised version of the app:

yarn build

You can run the newly built app with yarn start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

Credits

This is made from a project template for Svelte apps. You can find the original template at https://github.com/sveltejs/template.