GithubHelp home page GithubHelp logo

rproenza86 / mern-on-aws Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.1 MB

Home Page: https://d1yla3x3lggk6f.cloudfront.net/

TypeScript 90.30% HTML 3.23% JavaScript 1.52% Shell 0.98% CSS 3.97%
api-gateway aws aws-cdk-typescript aws-sdk-javascript cloudfront dynamodb iac lambda-functions reactjs s3-bucket aws-cognito authorizer-serverless aws-s3

mern-on-aws's Introduction

Project README - TODO Web App

Overview

This project is a monorepo MERN stack web application designed to manage TODO tasks. It is hosted on AWS and utilizes various services and technologies for a robust, scalable application.

Features

The application supports the following features:

  • Create, retrieve, update, and delete TODO tasks.
  • Real-time updates and state management on the frontend.
  • Secure and scalable hosting on AWS.

Technical Details

Frontend

Technologies & Libraries

  • React: A JavaScript library for building user interfaces.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • React Context API: Used for state management across the React components.

Key Components

  • TodoList: Displays the list of TODO tasks and handles interactions.
  • GlobalContext: Manages the global state of the application, including TODO tasks and loading states.

Backend

Technologies & Libraries

  • Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.
  • AWS Lambda: Event-driven, serverless computing service.
  • AWS API Gateway: Fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs.
  • Amazon Cognito: Provides user authentication and authorization.

Lambda Functions

  • CreateTodoLambda: Handles the creation of new TODO tasks.
  • GetTodosLambda: Retrieves all TODO tasks.
  • UpdateTodoLambda: Updates existing TODO tasks.
  • DeleteTodoLambda: Deletes TODO tasks.
  • GenPresignedUrlLambda: Generates presigned URLs for S3 uploads.

Infrastructure

Technologies & Frameworks

  • AWS CDK: Framework for defining cloud infrastructure using familiar programming languages.
  • Amazon DynamoDB: NoSQL database service that provides fast and predictable performance with seamless scalability.
  • Amazon S3: Object storage service that offers industry-leading scalability, data availability, security, and performance.

Key Constructs

  • BackendConstruct: Sets up the backend services including Lambda functions and API Gateway.
  • DataBaseConstruct: Manages the DynamoDB resources.
  • S3Construct: Manages the S3 buckets for static file hosting and image uploads.

Deployment

  • S3 Bucket: Hosts the static files for the frontend.
  • CloudFront: CDN service that securely delivers data, videos, applications, and APIs to customers globally.

Security

Authentication & Authorization

  • Amazon Cognito: Used for user authentication and authorization.
  • API Gateway Authorizers: Secures API endpoints using Cognito user pools.

Programming Techniques

  • Infrastructure as Code (IaC): Using AWS CDK to define and provision AWS infrastructure.
  • Serverless Architecture: Utilizing AWS Lambda for business logic, reducing the need for server management.
  • Continuous Integration and Deployment: Automated build and deployment pipelines enhance the development process.

Conclusion

This project leverages modern web technologies and AWS services to deliver a scalable and maintainable TODO web application. It demonstrates effective use of serverless architecture and IaC for efficient cloud resource management.

mern-on-aws's People

Contributors

rproenzanutrien avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.