Skip to content

Commit 81d562f

Browse files
committed
use mongodb in rust and axum framework
0 parents commit 81d562f

File tree

14 files changed

+2651
-0
lines changed

14 files changed

+2651
-0
lines changed

.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
MONGO_INITDB_ROOT_USERNAME=admin
2+
MONGO_INITDB_ROOT_PASSWORD=password123
3+
MONGO_INITDB_DATABASE=rust_mongodb
4+
5+
MONGODB_NOTE_COLLECTION=notes
6+
DATABASE_URL=mongodb://admin:password123@localhost:6000/rust_mongodb?authSource=admin

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)