https://github.com/gera2ld/quiz
Discover your intelligence
https://github.com/gera2ld/quiz
Last synced: about 1 month ago
JSON representation
Discover your intelligence
- Host: GitHub
- URL: https://github.com/gera2ld/quiz
- Owner: gera2ld
- Created: 2017-02-18T03:09:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T04:53:14.000Z (over 9 years ago)
- Last Synced: 2026-05-12T00:33:22.877Z (2 months ago)
- Language: JavaScript
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Quiz
---
A quiz platform to discover your intelligence.
Development
---
Create `config.yml` and add required keys.
``` sh
# Start server with nodemon
$ npm run dev
```
API document is available at `/api/_docs/`.
1. For MySQL, remember to set the database charset to `utf-8` first.
``` sh
$ mysql -u root -p
```
``` sql
> CREATE DATABASE quiz DEFAULT CHARACTER SET utf8mb4 COLLATE utf8_unicode_ci;
-- or alter database charset later
> ALTER DATABASE quiz CHARACTER SET utf8mb4 COLLATE utf8_unicode_ci;
```
1. Then migrate data.
``` sh
$ ./node_modules/.bin/sequelize db:migrate
```