feat(auth): add user schema and auth api

This commit is contained in:
2026-05-20 22:26:23 +07:00
commit 9d7114e2f1
13 changed files with 1658 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
PORT=3000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/noctune
JWT_SECRET=isi_random_string_panjang
JWT_REFRESH_SECRET=isi_random_string_lain
JWT_EXPIRES_IN=15m
JWT_REFRESH_EXPIRES_IN=7d
CLIENT_URL=http://localhost:5173