Skip to content

Commit

Permalink
work on books service
Browse files Browse the repository at this point in the history
  • Loading branch information
sehrish30 committed May 23, 2023
1 parent 16c1d15 commit 5b03ba7
Show file tree
Hide file tree
Showing 16 changed files with 10,268 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
node_modules
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,9 @@ Utilized EventBridge's content-based filtering feature to facilitate seamless in
<img src="readmeimages/cicd-dev.png" style="max-width: 100%; height: auto; object-fit: contain;">

Utilized AWS CodePipeline to automate my deployment process, combining continuous integration and continuous deployment. The pipeline is initiated by GitHub webhooks whenever new commits are pushed to the connected GitHub repository. The pipeline then packages the new code and moves it to an approval stage after running continuous integration tests. An approver then reviews the changes within the approval stage and approves the deployment. After approval, the pipeline deploys the new code, thereby achieving continuous deployment.

## 👉Architecture of Books Service

<img src="readmeimages/book-service.png" style="max-width: 100%; height: auto; object-fit: contain;">

Appsync graphql api
1 change: 1 addition & 0 deletions books-service/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BUCKET_NAME=qloudnet-dev
6 changes: 6 additions & 0 deletions books-service/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# package directories
node_modules
jspm_packages

# Serverless directories
.serverless
18 changes: 18 additions & 0 deletions books-service/handler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use strict';

module.exports.hello = async (event) => {
return {
statusCode: 200,
body: JSON.stringify(
{
message: 'Go Serverless v1.0! Your function executed successfully!',
input: event,
},
null,
2
),
};

// Use this code if you don't use the http event with the LAMBDA-PROXY integration
// return { message: 'Go Serverless v1.0! Your function executed successfully!', event };
};
Loading

0 comments on commit 5b03ba7

Please sign in to comment.