From 84ef4db188b1988227feba832e5779587de42a48 Mon Sep 17 00:00:00 2001 From: cjd24 Date: Tue, 6 Feb 2018 21:20:00 +0000 Subject: Filled in some of the first method stubs, added serverconfig.ts, and added script to install postgres on lab machine for doing db stuff --- src/app.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/app.ts') diff --git a/src/app.ts b/src/app.ts index 5ace143..83bf2b0 100644 --- a/src/app.ts +++ b/src/app.ts @@ -25,7 +25,8 @@ class App { const defRouter = express.Router() defRouter.get('/', (req, res) => { res.json({ - message: 'Welcome to the CS3099 BE4 server!' + message: 'Welcome to the CS3099 BE4 server!', + important : 'Endpoints start from /cs3099group-be-4/' }) }) this.express.use('/', defRouter) @@ -33,4 +34,4 @@ class App { } } -export default new App().express \ No newline at end of file +export default new App().express -- cgit v1.2.1