SpoOkle is a quiz app where users can take publically available quizzes and share their results with friends. Users can create quizzes, for public or private use, and share with friends. Users can also keep track of quizzes they have created to see how other users do with their questions.
- Fork this repository, then clone your fork of this repository to your local environment.
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- To make styling changes, not edit the
.css
files directly (/public/styles
), they are auto-generated by.scss
files. - The user login is currently hard coded. We would like to add login functionality.
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Chalk
- Cookie Session
- DotEnv
- EJS
- Express
- Morgan
- SASS