An open API service indexing awesome lists of open source software.

https://github.com/panglesd/class-panic

A node JS website for interactive polling students
https://github.com/panglesd/class-panic

Last synced: 2 months ago
JSON representation

A node JS website for interactive polling students

Awesome Lists containing this project

README

        

# class-panic
A node JS website for interactive polling students

## Requirements:

git, nodeJS (up to date), npm, a mysql server.

## Installation

To install, you have several steps:

### clone the repository
```shell
git clone https://github.com/panglesd/class-panic.git
cd class-panic
```

### Install dependencies

```shell
npm install
git clone https://github.com/mathjax/MathJax.git MathJax
```

### Set up the database
- Create a database
- Import classPanic.sql in your databse
- Create a user that has all access to this database
- Fill credentials.js so that the server can access the database:
```shell
cp credentials.js.example credentials.js
emacs credentials.js
```
### choose configuration
- Choose port, route and the password to create admin accounts, in configuration.js:
```shell
cp configuration.js.example configuration.js
emacs configuration.js
```

## Start the server

```shell
npm start
```

## Test

Open your browser and got to ``localhost:port/path``