var express = require('express');
var router = express.Router();

/* GET api */
router.get('/', function(req, res) {
    res.send('test');
});

module.exports = router;

var express = require('express');
var router = express.Router();

router.post('/objects', function(req, res) {
    // create new scienctist record with unique id
    // store in database
    // return record
});

router.put('/objects/:uid', function(req, res) {

});

router.get('/objects/:uid', function(req, res) {

});

router.delete('/objects/:uid', function(req, res) {

});

module.exports = router;

Set up routes