Skip to content

Commit 55a4921

Browse files
authored
Merge pull request #9 from rklpoi5678/express-김윤기
스프린트 미션 제출 - 10 김윤기
2 parents fcfff60 + 17b3f05 commit 55a4921

65 files changed

Lines changed: 2920 additions & 5825 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
NODE_ENV=
22
PORT=
33
# MONGO_URI=mongodb+srv://<username>:<userpassword>@<user_database>.veiwzrz.mongodb.net/<user_document>?retryWrites=true&w=majority&appName=<user_app_name>
4-
POSTGRESQL_URI="postgresql://<userid>:<userpw>@localhost:5432/<db_name>?schema=public&connection_limit=10&pool_timeout=20";
4+
# POSTGRESQL_URI="postgresql://<userid>:<userpw>@localhost:5432/<db_name>?schema=public&connection_limit=10&pool_timeout=20";
5+
6+
DATABASE_URL=
7+
DIRECT_URL=
8+
JWT_SECRET="your-super-duper-ultra-random-key"
9+
10+
GOOGLE_CLIENT_ID=
11+
GOOGLE_CLIENT_SECRET=

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,11 @@ env/
1919

2020
# OS 생성 파일
2121
.DS_Store
22-
Thumbs.db
22+
Thumbs.db
23+
24+
# prisma
25+
prisma/migrations
26+
src/generated
27+
28+
# images
29+
/uploads

.swcrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"jsc": {
33
"target": "es2020",
4-
"parser":{
4+
"parser": {
55
"syntax": "ecmascript"
66
},
77
"minify": {
@@ -12,5 +12,5 @@
1212
"minify": true,
1313
"module": {
1414
"type": "commonjs"
15-
},
16-
}
15+
}
16+
}

bun.lock

Lines changed: 905 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jest.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
export default {
2+
testEnvironment: "node",
3+
transform: {
4+
// or 바벨과 같은 다른 트랜스파일러 사용가능
5+
"^.+\\.(t|j)sx?$": [
6+
"@swc/jest",
7+
{
8+
jsc: {
9+
parser: {
10+
syntax: "typescript",
11+
tsx: false,
12+
},
13+
target: "es2022",
14+
},
15+
module: {
16+
// Jest는 CJS 가 안정적
17+
type: "commonjs",
18+
},
19+
},
20+
],
21+
},
22+
// ESM support in Jest
23+
extensionsToTreatAsEsm: [".ts", ".tsx", ".jsx"],
24+
moduleNameMapper: {
25+
"^(\\.{1,2}/.*)\\.js$": "$1",
26+
},
27+
};

jsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"module": "esnext",
4+
"moduleResolution": "node",
5+
"target": "esnext",
6+
"strict": true,
7+
"esModuleInterop": true,
8+
}
9+
}

0 commit comments

Comments
 (0)