0.1.4 • Published 4 years ago

bytee-quiz-server v0.1.4

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
4 years ago

Bytee Quiz node.js server

Build Status

Simple node express server for the Vue.js Quiz app using mongodb.

Project setup

Install dependencies first.

npm install

Copy the config.sample.js to config.js and adjust the settings to your environment.

Start the server (port 3000 by default)

npm start

Run the API tests

Make sure the quiz server is running and adjust the test/config.js file.

npm test

Import Questions

You can use the import.js script to import JSON question files into your mongo database.

node import.js path/to/questions.js