basic backend structure
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { Express } from "express"
|
||||
|
||||
export const routes = (app: Express, passport?: any) => {
|
||||
app.get('/hello', (req, res) => {
|
||||
res.send({ message: "hello from the server!!" });
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user