26 lines
479 B
JavaScript
26 lines
479 B
JavaScript
'use strict'
|
|
let debug = require( 'debug' )( 'speckle:modules' )
|
|
const root = require( 'app-root-path' )
|
|
const mw = require( `${root}/modules/shared` )
|
|
|
|
exports.init = ( app, options ) => {
|
|
|
|
debug( '☢️\tInit test module' )
|
|
|
|
app.get('/auth/register', (req, res) => {
|
|
res.send('Register')
|
|
})
|
|
|
|
app.post('/auth/register', (req, res) => {
|
|
|
|
})
|
|
|
|
app.get('/auth/login', (req, res) => {
|
|
res.send('Login')
|
|
})
|
|
|
|
app.post('/auth/signin', (req, res) => {
|
|
|
|
})
|
|
|
|
} |