X

Backend Button Game

Prerequiste

  • Node.js - Download and Install Node.js with NVM (Node Version Manager) - Simple bash script to manage multiple active node.js versions.
  • MySQL - Download and Install MySQL - Make sure it's running on the default port.

Installation

Clone

$ git clone https://github.com/Drzaln/Button-Backend.git
$ cd Button-Backend
$ npm install

Create Environment Variable

$ touch .env
$ nano .env
DB_HOST="Your_Host"
DB_USER="Your_Username"
DB_PASS="Your_Password"
DB_NAME="Your_Table"

SERVER_PORT=3000

Start Development Server

$ npm start