Skip to content

SnapMobileIO/SnapMobile-AdminServer

Repository files navigation

SnapMobile-AdminServer

A npm module for a server-side admin server

Usage

Include this private module by adding the following under dependencies in package.json, and run npm install.

"snapmobile-adminserver": "git+ssh://[email protected]/SnapMobileIO/SnapMobile-AdminServer.git",

To configure, add the following to routes.js:

import User from '../app/user/user.model';
...
let admin = require('snapmobile-adminserver');
let utils = require('../components/utils');
admin.setUtils(utils);
admin.setUser(User);
app.use('/api/admin', admin.router);

Updating

Make any changes in /src.

Once changes are completed, run gulp dist to process JavaScript files and add to /dist.

About

A npm module for a server-side admin server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •