Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f2691a3
chore: ready for transition to prisma
play-ancora-gyungmin Sep 30, 2025
9ce76c7
remove: delete mongo files
play-ancora-gyungmin Sep 30, 2025
b29ac54
chore: delete mongoose
play-ancora-gyungmin Sep 30, 2025
0bdc0bf
feat: add Article, Product, Comment schema
play-ancora-gyungmin Sep 30, 2025
65ccd9f
build: migrate prisma shema
play-ancora-gyungmin Sep 30, 2025
ecbe916
feat: change server i/o code for prisma
play-ancora-gyungmin Sep 30, 2025
d4589d9
feat: migrate product crud for prisma
play-ancora-gyungmin Sep 30, 2025
1a70632
fix: fix wrong message
play-ancora-gyungmin Oct 1, 2025
c99cdc1
feat: create article crud
play-ancora-gyungmin Oct 1, 2025
8feea7d
feat: add updateAt on comment
play-ancora-gyungmin Oct 1, 2025
1015513
feat: add prisma logging for dev env
play-ancora-gyungmin Oct 1, 2025
458711e
fix: fix wrong fild name context to content
play-ancora-gyungmin Oct 1, 2025
6acd1c7
fix: change keyword list to data for does not return a list
play-ancora-gyungmin Oct 1, 2025
482098e
fix: fix for id is not number
play-ancora-gyungmin Oct 1, 2025
92c9817
chore: move validator file to validator dir
play-ancora-gyungmin Oct 1, 2025
90e9415
feat: add parent filde on commnet
play-ancora-gyungmin Oct 1, 2025
d7e3e3b
feat: create comment crud
play-ancora-gyungmin Oct 1, 2025
da8bf00
fix: Improve error handling for PATCH/DELETE
play-ancora-gyungmin Oct 2, 2025
740aaa0
feat: add seeding
play-ancora-gyungmin Oct 2, 2025
108216e
chore: add faker on dependencies for on publlishing test
play-ancora-gyungmin Oct 3, 2025
d5d6c60
feat: cors get whitelist on env
play-ancora-gyungmin Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_modules
coverage

# env
.env
env/*
!env/.env.example

Expand All @@ -23,4 +24,5 @@ build

npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
/src/generated/prisma
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

1. Node.js
2. express
3. mongoDB
3. ~~mongoDB~~
3 changes: 2 additions & 1 deletion env/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NODE_ENV=
PORT=
MONGO_URI=
DATABASE_URL=
FRONT_URL=
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"type": "module",
"scripts": {
"dev": "nodemon --env-file=./env/.env.development src/server.js",
"start": "node --env-file=/etc/secrets/.env.production src/server.js",
"start": "node src/server.js",
"seed": "node scripts/seed.js",
"format": "prettier --write src/**/*.js",
"format:check": "prettier --check src/**/*.js"
},
Expand All @@ -19,14 +20,17 @@
"npm": "^11.6.0"
},
"dependencies": {
"@prisma/client": "^6.16.2",
"@faker-js/faker": "^10.0.0",
"express": "^5.1.0",
"mongoose": "^8.18.2",
"zod": "^4.1.11"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@faker-js/faker": "^10.0.0",
"eslint": "^9.36.0",
"nodemon": "^3.1.10",
"prettier": "^3.6.2"
"prettier": "^3.6.2",
"prisma": "^6.16.2"
}
}
Loading