node-mongo-demo
node.js and mongodb demo
git clone https://9o.is/git/node-mongo-demo.git
commit 7ce4209695b3902f4e461863595a8138052f77a0 parent 42b959d40488a98a01486de8bd99ad38d031a6b8 Author: Jul <jul@9o.is> Date: Fri, 24 Jan 2025 04:37:13 -0500 rename .env example file and gitignore .env Diffstat:
| M | .gitignore | | | 4 | ++-- |
| D | backend/.env | | | 3 | --- |
| A | backend/.env.example | | | 2 | ++ |
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ -node_modules -\ No newline at end of file +node_modules +.env diff --git a/backend/.env b/backend/.env @@ -1,2 +0,0 @@ -PORT=5000 -MONGODB_URL= -\ No newline at end of file diff --git a/backend/.env.example b/backend/.env.example @@ -0,0 +1,2 @@ +PORT=5000 +MONGODB_URL=