Skip to content
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

Exam1 ngothao (2) #69

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MONGODB_URI=mongodb://127.0.0.1:27017/test

Choose a reason for hiding this comment

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

bỏ mongodb

PORT = 8080

Choose a reason for hiding this comment

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

bỏ .env vào .gitignore
tạo .env.template mẫu push lên

SECRET_KEY = "thao"
9 changes: 2 additions & 7 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
# Sample .env.template file

# Database URL
DB_URL =

# Port number
PORT =
PORT =
URI_DB =
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.env
uploads
Loading