Skip to content

chyke007/bff-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


BFF Architecture Flow
BFF NodeJs

BFF NodeJs, is a sample Backends For Frontends project built with Nodejs and AWS Lambda.

License: MIT

Folder StructureServices UsedHow To UseArchitectureDocumentationRelatedLicense

Folder Structure

This project contains source code for a serverless that can be deployed using the serverless framework. It also contains frontend code built using Next.js that can also be easily deployed or run locally. Also added are the architecture diagrams for the project.

  • architecture - Contains architectural diagram and workflows for the application
  • functions - Lambda code for the application

Services Used

The following are the AWS services explicitly used

  • AWS Lambda
  • Amazon API Gateway
  • AWS IAM

How To Use

To clone and run this application, you'll need Git and Node.js v16+ (which comes with npm) installed on your computer. Also create an account with AWS, install the AWS CLI in locally, create an IAM user and add this user to AWS CLI as a profile. This profile user should have necessary permissions to deploy the app to AWS. Next, add required credentials to the .env file created from the command below. From your command line:

# Clone this repository
$ git clone https://github.com/chyke007/bff-nodejs.git

# Go into the repository
$ cd bff-nodejs

# Deploy project
$ npm i serverless -g
$ serverless deploy

# Remove resources
$ sls remove

Architecture

Backends For Frontends Flow

BFF Architecture Flow

Documentation

You can find a talk that explains the project here

You may also like...

  • YumFood - An online food ordering application
  • TrackIt - A WhatsApp messages tracker
  • FacialVote - A Serverless Facial Recognition voting application built entirely using AWS services

License

MIT


chibuikenwa.com  ·  GitHub @chyke007  ·  LinkedIn @chibuikenwachukwu