Skip to content

3NWeb protocols' specs live here as real test suites. Spec server implements specs.

License

Notifications You must be signed in to change notification settings

3nsoft/spec-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spec Server

This repository contains 3NWeb protocols' specification test suite and a single-machine server implementation, conforming to spec's suite. Thus, we call it a spec server.

Main purpose of this server is to ensure that 3NWeb protocols are implementable, and to be a testbed for possible new features. Secondary purpose of this server is to be packagable into a home-class server, i.e. server that can be run from a single machine.

Usage

To use this repo, you need Node.js with Typescript, installed globally to Node.js (with flag -g).

When in the project's folder, run

npm ci

to pull in all necessary dependencies. Note that option ci brings exact versions, mentioned in package-lock.json, while option i (install) may get other versions, based on ranges in package.json.

After that, run npm scripts:

npm run test

to build everything and to run test suites. Or,

npm run build

to just do built.

Tests are written with Jasmine. Config file is src/tests/jasmine.ts.

Please note, that support for running server on windows hasn't been introduced, yet.

License

Code is provided here under GNU General Public License, version 3.

All protocols (spec API calls to server) are free for anyone to use, to implement, to do anything with it. We specifically do not subscribe to USA's court's concept that API is copyrightable.

About

3NWeb protocols' specs live here as real test suites. Spec server implements specs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages