Skip to content

joefour/SnapJS-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.

"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);

Updating

Make any changes in /src.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%