A npm module for a server-side admin server
Include this private module by adding the following under dependencies in package.json, and run npm install.
"snapjs-adminserver": "git+ssh://git@github.com/SnapMobileIO/SnapJS-AdminServer.git",
To configure, add the following to routes.js:
import User from '../app/user/user.model';
...
let admin = require('snapjs-adminserver');
admin.setUser(User);
app.use('/api/admin', admin.router);Make any changes in /src.
Once changes are completed, run gulp dist to process JavaScript files and add to /dist.