Created
November 26, 2020 18:13
-
-
Save marcosdeaguiar/fb28357fd81802d53e009def29f83553 to your computer and use it in GitHub Desktop.
App ts for TypeORM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from "express"; | |
import setupTypeORM from "./setuptypeorm"; | |
var app = express(); | |
// Creates the try connect loop. | |
setupTypeORM(); | |
app.use(...); | |
// Start other middleware and routes... | |
app.use(...); | |
// The rest of the app.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment