Compare commits
No commits in common. "6ba0fd0ffee1159a30bfe4eff7aa4818290a726d" and "6b7abad013435c552c74e95f7bd9ee63ef18bbb3" have entirely different histories.
6ba0fd0ffe
...
6b7abad013
4 changed files with 2 additions and 37 deletions
|
@ -41,7 +41,7 @@ npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## TodoService
|
## TodoService
|
||||||
Before running the TodoService, ensure that you have Node.js, TypeScript (tsc) and npm installed.
|
Before running the TodoService, ensure that you have Node.js, TypeScript (tsc), configured aws-cli and npm installed.
|
||||||
|
|
||||||
Navigate to the /todo-service directory.
|
Navigate to the /todo-service directory.
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
## ROOT ##
|
|
||||||
MONGO_INITDB_DATABASE=your-database-name
|
MONGO_INITDB_DATABASE=your-database-name
|
||||||
MONGO_INITDB_ROOT_USERNAME=your-username
|
MONGO_INITDB_ROOT_USERNAME=your-username
|
||||||
MONGO_INITDB_ROOT_PASSWORD=your-password
|
MONGO_INITDB_ROOT_PASSWORD=your-password
|
||||||
|
|
||||||
## Todo User ##
|
|
||||||
DB_USERNAME=user
|
|
||||||
DB_PASSWORD=12345
|
|
||||||
DB_NAME=user_db
|
|
||||||
DB_USER_ROLE=readWrite
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
## AWS-SDK ##
|
|
||||||
AWS_ACCESS_KEY_ID={AWS_ACCESS_KEY_ID}
|
|
||||||
AWS_SECRET_ACCESS_KEY={AWS_SECRET_ACCESS_KEY}
|
|
||||||
AWS_REGION={AWS_REGION}
|
|
||||||
AWS_SQS_URL=https://sqs.{AWS_REGION}.amazonaws.com/{ACCOUNT_ID}/
|
|
||||||
AWS_SQS_QUEUE_NAME={NAME_OF_QUEUE}
|
|
||||||
|
|
||||||
## MONGO USER ##
|
|
||||||
DATABASE_URL=mongodb://{USER}:{PASSWORD}@localhost:27017/{DB_NAME}
|
|
||||||
MONGO_DB_NAME={USER_DB_NAME}
|
|
|
@ -1,18 +0,0 @@
|
||||||
|
|
||||||
#### MONGODB ####
|
|
||||||
## TODO MONGO USER ##
|
|
||||||
PORT={PORT}
|
|
||||||
DATABASE_URL=mongodb://{USER}:{PASSWORD}@localhost:27017/{DB_NAME}
|
|
||||||
MONGO_DB_NAME={USER_DB_NAME}
|
|
||||||
|
|
||||||
## MONGO_ROOT ##
|
|
||||||
MONGO_INITDB_DATABASE={DB_NAME}
|
|
||||||
MONGO_INITDB_ROOT_USERNAME={USER}
|
|
||||||
MONGO_INITDB_ROOT_PASSWORD={PASSWORD}
|
|
||||||
|
|
||||||
## AWS-SDK ##
|
|
||||||
AWS_ACCESS_KEY_ID={AWS_ACCESS_KEY_ID}
|
|
||||||
AWS_SECRET_ACCESS_KEY={AWS_SECRET_ACCESS_KEY}
|
|
||||||
AWS_REGION={AWS_REGION}
|
|
||||||
AWS_SQS_URL=https://{AWS_REGION}.amazonaws.com/{ACCOUNT_ID}/
|
|
||||||
AWS_SQS_QUEUE_NAME={NAME_OF_QUEUE}
|
|
Loading…
Reference in a new issue