-
Notifications
You must be signed in to change notification settings - Fork 33
Mission9 #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Mission9 #239
Changes from all commits
adae494
801b798
23124c5
1736739
5eb868a
1376d3e
e508496
c2f4078
f70266f
c7839b2
669193d
19c21d6
e13bb72
eebed2b
1cbee29
8a2d00d
4c44194
83d0da4
dfafcf6
c543cd0
4fd07cc
0c34a4d
bf313f7
39d0eaf
02c94ad
0dbe7d1
41ce776
0418fc4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| .DS_Store | ||
|
|
||
| /generated/prisma | ||
| mission2 | ||
| mission3 | ||
| mission4 | ||
| mission6 | ||
| mission8 | ||
| mission9/dist | ||
| mission9/generated/prisma | ||
|
Comment on lines
+9
to
+10
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 여기서 node_modules를 ignore처리 해주세요. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| node_modules | ||
| # Keep environment variables out of version control | ||
| .env | ||
|
|
||
| /generated/prisma |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import { defineConfig } from "eslint/config"; | ||
| import globals from "globals"; | ||
| export default defineConfig([ | ||
| { | ||
| files: ["**/*.js"], | ||
| languageOptions: { globals: { ...globals.jest } }, | ||
| rules: { "no-unused-vars": "warn", "no-undef": "warn" }, | ||
| }, | ||
| ]); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import express from "express"; | ||
| import createApiRouter from "./routes/index.routes.js"; | ||
| import cors from "cors"; | ||
| import type { Server as HttpServer } from "http"; | ||
|
|
||
| export default function initializeRoutes(server: HttpServer) { | ||
| const app = express(); | ||
|
|
||
| app.use(express.json()); | ||
| app.use(cors()); | ||
|
|
||
| // server 인자를 전달해야 함 | ||
| app.use("/api", createApiRouter(server)); | ||
|
|
||
| return app; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "verbose": true, | ||
| "collectCoverage": true, | ||
| "transform": { | ||
| "^.+\\.(t|j)sx?$": "babel-jest" | ||
| }, | ||
| "testEnvironment": "node", | ||
| "moduleNameMapper": { | ||
| "^(\\.{1,2}/.*)\\.js$": "$1" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지난 미션은 왜 ignore 처리해두신건가요? 굳이 ignore 처리 안해도 될 것 같은데, 아마 git을 사용하는데 어려움이 있으신 것 같아요. 이건 멘토링 시간에 이야기 해보죠!