basic backend structure

This commit is contained in:
Mikayla Dobson
2022-11-17 15:26:01 -06:00
parent efef8ab2e8
commit 798da777a9
7 changed files with 147 additions and 38 deletions

View File

@@ -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!!" });
})
}