Commit graph

10 commits

Author SHA1 Message Date
Hippo 3eca0be184 Rearrange assets to make templates more sensible
Parcel has been removed since we didn't need it anymore (Tailwind
does the purging by itself anyway). Instead, we've told Express
to serve all static assets from src/assets/ and use twig templates
from src/ directly.

Meanwhile, Nodemon now watches for changes in .css and .twig files
too!
2022-01-06 16:15:24 +05:30
Hippo fb76433250 Start sending verification emails
Finally!
2022-01-06 14:39:46 +05:30
Hippo a381077b83 Set up "email verification" workflow (minus the email itself)
We'll start sending out the email in the next step, when the setup
of nodemailer is complete. Right now, everything else works:
creating a verification link, processing it when clicked on, and
even updating (instead of appending) a pledge when the same email
submits multiple times. No pretty error messages though; that's
another thing to be worked on :P

WARNING: Don't deploy this commit live; people will be told about a
verification email but they won't actually get it yet!
2022-01-05 23:43:58 +05:30
Hippo a33ba1dc9c Use nodemon for auto-reload of Express server
This is so that we don't have to keep restarting the server every
time we make a change. Parcel was taking care of this for the
static files like HTML and CSS, but not for the Express server
itself: that required calling in Nodemon to do the job.
2022-01-05 22:09:46 +05:30
Hippo 8e312b3ac5 Set up Twing with basic counting (current goals details!) 2021-12-29 19:45:21 +05:30
Hippo afdd4dca1c Set up basic Express server 2021-12-29 17:22:17 +05:30
Hippo aa804a4b56 Set up database: knex and bookshelf 2021-12-29 17:05:51 +05:30
Hippo 1d7bcaf821 Explicitly add dotenv to dependencies
We'll be needing it in a bit!
2021-12-29 09:46:00 +05:30
Hippo 378a0cb060 Set up Tailwind (with PostCSS) 2021-12-27 18:22:54 +05:30
Hippo 14b1cd87b5 Initial Parcel project 2021-12-27 17:44:02 +05:30