Refer to https://github.com/fac-17/DENK/wiki/Installation
User visits a page and chooses his fate card, clicking on it. User is then transferred to a tarot reading side and can see the card and the description.
- Express.js - server
- Handlebars - template engine
- Postgres - database
- Tape, Supertest - testing
- GitHub Project, Wiki
-
We wanted to get random data from our database - we knew we could call our whole database and then use math.random to get a random one, but the challenge was to just query the database for a random entry. We managed to do this by using ORDER BY RANDOM() LIMIT 1
-
To output raw HTML use {{{}}}, which is how {{{body}}} works. Eg. {{{tarot.image}}} will render content of tarot.image as html (in our case SVG)
-
TEXT in Postgres is like VARCHAR but without limiting length
-
Before you play with SVG, read on them
-
How to use Whimsical
- to create flows
- to wireframe
- Github Project
- GitHub Wiki