Quizzing turned into fun, this application is to make education topics fun for learning through a game for students.
This app runs on express
, express-handlebars
, mysql2
, and sequelize
Node.js modules, along with many others.
Note.js v13+ and MySQL v8+ are required in order to run this script.
- Download or clone this repository into your local computer.
- Log into your MySQL server and run the SQL files
./database/schema.sql
,./database/locations.sql
and./database/seeds.sql
to initialize the database. - In your terminal, browse to the folder and run
npm install --production
. - Create a
.env
file into the root folder with your own credentials so the app can connect to your MySQL server. Use this template to help get your app going:
DB_USER=root
DB_PASSWORD=
DB_NAME=quiz_journey
DB_HOST=localhost
- In your terminal, run the script with the command
npm start
ornode server.js
. This will run a local server that hosts the web app on port 8080. - Visit
http://localhost:8080
to access the web app. - Start a new game, registering with your name.
- Add a character.
- Click on character to begin your journey!