synapps is a web framework for Node.js
varsynapps=require('@synapps/core');varapp=synapps();app.route('/',function(req){req.resolve('hello world');});app.listen(3000);$ curl http://127.0.0.1:3000
hello worldThis is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 6 or higher is required.
Installation is done using the
npm install command:
$ npm install @synapps/coreVisit the Wiki
To view the examples, clone the Synapps repo and install the dependencies:
$ git clone git://github.com/Atlantis-Software/synapps.git
$ cd synapps/
$ npm installThen install the dependencies and run whichever example you want:
$ cd examples/auth
$ npm install
$ node indexTo run the test suite, first install the dependencies, generate ssl key, then run npm test:
$ git clone git://github.com/Atlantis-Software/synapps.git
$ cd synapps/
$ npm install
$ npm test