Skip to content

Commit c15810c

Browse files
authored
Update readme.md
1 parent cd29444 commit c15810c

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,31 @@ Using AWS CDK, this project is easy to deploy, customize, and scale to meet the
1616
# Installation
1717
1. Clone the repository and navigate to the root directory of the project
1818
2. Install the dependencies for the AWS CDK and the Node.js application
19-
```bash
20-
# Install AWS CDK dependencies
21-
cd infrastructure
22-
npm install
19+
```bash
20+
# Install AWS CDK dependencies
21+
cd infrastructure
22+
npm install
2323

24-
# Install Node.js application dependencies
25-
cd ../store-json-rds
26-
npm install
27-
```
24+
# Install Node.js application dependencies
25+
cd ../store-json-rds
26+
npm install
27+
```
2828

2929

3030
3. Deploy the AWS resources using the AWS CDK:
31-
```Bash
32-
# From the infrastructure directory
33-
cdk deploy
34-
```
31+
```bash
32+
# From the infrastructure directory
33+
cdk deploy
34+
```
3535

3636
4. Ensure that you have stup aws region, and other credentials
3737
5. Start the Node.js application:
38-
```Bash
39-
# From the store-json-rds directory
40-
npm start
41-
```
38+
```Bash
39+
# From the store-json-rds directory
40+
npm start
41+
```
4242
This will start the Node.js application, which listens for new CSV files uploaded to the S3 bucket. When a new file is detected, the application will process the file and send the data to the API Gateway, which will store the data in the RDS instance.
4343

44-
4544
# Usage
4645
Infrastructure folder contains aws-cdk code to build IAM, rds database, s3, lamda function triggered by the csv upload to s3
4746

0 commit comments

Comments
 (0)