fac-15 / santas_secret

Week 8 project (Charlie, Hannah, Lucy, Oliver)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

codecov

Santa's Secret

A secret santa generator!

Week 8 project (Charlie, Hannah, Lucy, Oliver)

Installation

  • Clone repository
  • Run npm install
  • Create config.env file and ask us for our DB URL (currently using one hosted on Heroku - we know, local databases would be better though! 🤦‍♂️)
  • Run npm run test_db to see our DB tests
  • Run npm run start or npm run dev to roll our server
  • Head to localhost:2512

Tuesday:

  • Planning/Whiteboarding:
  • Wanted the sports car, lots of discussion, we opted for the skateboard!

(Wanted multiple user authentication, inc. an organisation table in our db) (Would ideally have completely annonymous results via login)

Instead our first draft is going to be for an admin/organiser, who inputs all the names, and sees all the results/who's allocated to who.

Wednesday:

What we're proud of:

  • TDD!

  • Wrote failing tests for our getData and postData helpers!

  • File skeleton outlined and implemented

Thursday:

  • Allowed Oliver to join in

  • Set up our all our express views/routes/layouts

  • Got our server up and running

  • WEE BIT OF CSS MY DUDES (Background:images are annoying)

  • Set up Travis/codecov

  • Writing Secret Santa algorithm

  • posting names to db

  • retrieving names from db, displaying in .hbs

  • reset button

  • Super basic CSS

  • AND MORE

About

Week 8 project (Charlie, Hannah, Lucy, Oliver)


Languages

Language:JavaScript 71.1%Language:CSS 15.0%Language:HTML 11.9%Language:PLpgSQL 1.9%