1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 07:39:06 +00:00

Added linemanjs as frontend

This commit is contained in:
2016-02-10 16:33:44 +00:00
parent 4685173548
commit dfa0972747
36 changed files with 2670 additions and 1 deletions

21
frontend/config/server.js Normal file
View File

@@ -0,0 +1,21 @@
/* Define custom server-side HTTP routes for lineman's development server
* These might be as simple as stubbing a little JSON to
* facilitate development of code that interacts with an HTTP service
* (presumably, mirroring one that will be reachable in a live environment).
*
* It's important to remember that any custom endpoints defined here
* will only be available in development, as lineman only builds
* static assets, it can't run server-side code.
*
* This file can be very useful for rapid prototyping or even organically
* defining a spec based on the needs of the client code that emerge.
*
*/
module.exports = {
drawRoutes: function(app) {
// app.get('/api/greeting/:message', function(req, res){
// res.json({ message: "OK, "+req.params.message });
// });
}
};