jsMate
Overview
jsMate is a web-based chess application built initially over a time-boxed weekend.
Planning / Status
Dependencies
Dependency | Installation |
---|---|
Node.js | Installer |
connect | npm install connect |
serve-static | npm install serve-static |
cors | npm install cors |
Nancy | Install-Package Nancy |
Nancy.Hosting.Self | Install-Package Nancy.Hosting.Self |
LiteDB | Install-Package LiteDB |
Getting started from zero
Starting the node Server
git clone https://github.com/ballance/jsmate.git
cd jsmate
npm install cors --save
npm install connect
npm install serve-static
npm i
start.bat or start.ps1
~~~~~~~~~~~~~~~~~
##### Set up ACLs for NancyFX
~~~~~~~~~~~~~~~~~
netsh http add urlacl url=http://+:9997/ user=Everyone
~~~~~~~~~~~~~~~~~
source: https://msdn.microsoft.com/en-us/library/ms733768.aspx
##### Run NancyFX for API
~~~~~~~~~~~~~~~~~~
JsMate.Api.exe
~~~~~~~~~~~~~~~~~~
##### Helpful tools
- [LiteDB Shell](https://github.com/mbdavid/LiteDB/releases)