diff options
| author | cjd24 | 2018-02-06 21:20:00 +0000 |
|---|---|---|
| committer | cjd24 | 2018-02-06 21:20:00 +0000 |
| commit | 84ef4db188b1988227feba832e5779587de42a48 (patch) | |
| tree | 47302c5f9cd8da71cbcdb817e3490ab88f856ae2 /src/app.ts | |
| parent | Merge branch 'trh/node-tidy' into 'master' (diff) | |
| download | medicine-84ef4db188b1988227feba832e5779587de42a48.tar.gz medicine-84ef4db188b1988227feba832e5779587de42a48.zip | |
Filled in some of the first method stubs, added serverconfig.ts, and added script to install postgres on lab machine for doing db stuff
Diffstat (limited to 'src/app.ts')
| -rw-r--r-- | src/app.ts | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
