refactor
This commit is contained in:
parent
637a867c7e
commit
53f5a2f820
5 changed files with 99 additions and 39 deletions
|
|
@ -6,10 +6,11 @@ import {leaderboardRoute} from "./leaderboardRoute.js";
|
|||
import {userRoute} from "./userRoute.js";
|
||||
import {gameRoute} from "./gameRoute.js";
|
||||
|
||||
// TODO: Rename variables --> Responsotory + Comments
|
||||
// initialize express
|
||||
const app = express()
|
||||
const port = 3000
|
||||
|
||||
// use needed middlewares
|
||||
app.use(helmet())
|
||||
app.use(cors())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue