/Fac-week8-Fun-FACts

A fun fact game for fun fact people

Primary LanguageJavaScript

FAC Week 8 project - Express.js & Handlebars

TEAM

Anthony, Collete, Martha, Sam, Sarah

Installation

To start the project in your shell 🐚 :

npm install

To run the project on the localhost:3000:

npm start

DATABASE SCHEMA

Facts

  • ID (INTEGER)
  • NAME (VARCHAR)
  • FACT (VARCHAR)
  • TRUE or FALSE (BOOLEAN)

Leaderboard (Strech Goal)

  • ID (INTEGER)
  • DATE
  • SCORE (INTEGER)
  • PLAYER (VARCHAR)
  • Question Tracker (Stretch, stretch Goal)

MVP Tasks

  • File Structure for full stack express handlebars
  • Testing
    • Database
    • Routes
    • Pure Functions
  • Functionality
    • handlebars to show header and footer, errors etc...
    • User can add a statement
    • User can answer true and false statements
    • User gets a score based on their answers
  • Style app theme to look like a cool game
    • Fonts, colors
    • Add nicer animations
    • home page
    • game page
    • submit a statement page

Stretch Goals 🎯

  • Create table to save each players score
  • Create page for showing leader board of top scores
  • Make user login to track player statements and scores
  • Track how many times a question was answered correctly to give it a rank of hardness

What we learnt 📖

  • Express and handlebars
  • Repeating everything just helps in general
  • Keep track of different CSS pages
  • You can copy someones awesome SASS files into your css by compiling it into CSS first

What's Gone Well 🤗

  • Setting a sensible MVP that we were able to acheive
  • Communication and splitting of tasks
  • Swapping teams regularly and all working on different parts of the code base
  • Adding in nice animation background

What Could have Gone Better 😔

  • Could have more testing
  • Doing animation background ourselves instead of copy-pasting