BFF NodeJs, is a sample Backends For Frontends project built with Nodejs and AWS Lambda.
Folder Structure • Services Used • How To Use • Architecture • Documentation • Related • License
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
The following are the AWS services explicitly used
- AWS Lambda
- Amazon API Gateway
- AWS IAM
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
You can find a talk that explains the project here
- YumFood - An online food ordering application
- TrackIt - A WhatsApp messages tracker
- FacialVote - A Serverless Facial Recognition voting application built entirely using AWS services
MIT
chibuikenwa.com · GitHub @chyke007 · LinkedIn @chibuikenwachukwu