Skip to content

fac-15/santas_secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •