-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: changed JS-PostgreSQL-TypeORM-NoAuth-Template to the tempalte
- Loading branch information
1 parent
a5e1155
commit 5c21226
Showing
10 changed files
with
131 additions
and
30 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
.vscode | ||
# Logs and Runtime data | ||
logs/ | ||
*.log | ||
|
||
# Dependency directories | ||
node_modules/ | ||
|
||
# Yarn and npm cache directories | ||
.yarn/cache/ | ||
.npm/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional cache directories | ||
.eslintcache | ||
.stylelintcache | ||
|
||
# Environment variables | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# Build output | ||
dist/ | ||
build/ | ||
out/ | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage/ | ||
|
||
# Editor-specific files | ||
.vscode/ | ||
.idea/ | ||
*.swp | ||
|
||
# Temporary files | ||
*.tmp | ||
*.temp | ||
|
||
# OS-specific files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Miscellaneous | ||
.node_repl_history | ||
.vscode-test |
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
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
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const helloWorld = async (req, res) => { | ||
try { | ||
res.send("Hello World!"); | ||
} catch (error) { | ||
res.status(500).json({ | ||
message: "Internal Server Error", | ||
}); | ||
} | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import express from "express"; | ||
import { helloWorld } from "../controllers/helloWorldController.js"; | ||
|
||
const helloWorldRouter = express.Router(); | ||
|
||
helloWorldRouter.get("/", helloWorld); | ||
|
||
export default helloWorldRouter; |
This file was deleted.
Oops, something went wrong.