Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ SEC_SERVER_PORT=3000
# Database
DB_HOST=127.0.0.1
DB_PORT=27017
DB_NAME=basehub
DB_NAME=admin
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DB_NAME=admin
DB_NAME=

Copy link
Owner

@Decode84 Decode84 Mar 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the name keeps changing, why not just leave it at nothing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot I changed the name for testing purposes. I already made a pending suggestion change to keep the name blank

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ public/assets
/node_modules
.env
package-lock.json
notes.txt
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The purpose of this file is to keep personal instructions

11 changes: 11 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"watch": ["src/"],
"ignore": ["node_modules", ".git"],
"ext": "js,json",
"env": {
"NODE_ENV": "development"
},
"execMap": {
"js": "node"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "src/server.js",
"scripts": {
"start": "cd src && node server.js",
"start": "nodemon ./src/server.js",
"build:css": "postcss src/resources/css/tailwind.css -o public/assets/output.css",
"test": "jest"
},
Expand All @@ -24,6 +24,7 @@
"devDependencies": {
"autoprefixer": "^10.4.2",
"jest": "^27.5.1",
"nodemon": "^2.0.15",
"postcss": "^8.4.8",
"tailwindcss": "^3.0.23"
}
Expand Down