Sunno / node-exam

This is a test for a job

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install and run project

Requirements

This is the environment I developed the project

  • node 10.18.1
  • yarn 1.21.1
  • mysql 5.7

Install dependencies

yarn install

Create a .env file in project root with a content like this

DATABASE_HOST='127.0.0.1'
DATABASE_USER='nodeexam'
DATABASE_PASSWORD='nodeexam'
DATABASE_NAME='nodeexam'

Create Database

CREATE SCHEMA `nodeexam` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ;

Install table

node install_db.js

Run server

node app.js

About

This is a test for a job


Languages

Language:JavaScript 100.0%