Skip to content

dkarandana-inc/sample-deploy-youtube

Repository files navigation

NextJS & AWS CDK Full-Stack App

Unlock the power of Next JS and AWS in real-time deployment! This repo accompanies the tutorial where we navigate the CI/CD pipeline to build an AI application using TypeScript. A perfect resource for aspiring full-stack developers.

Video Tutorial

🎥 Watch the full tutorial on YouTube

Video Chapters

  • 00:00 Introduction
  • 01:24 Setting Up the Application
  • 03:43 Deploying the CDK Backend
  • 08:14 Connecting Frontend to Backend
  • 11:38 Automating Code Generation
  • 15:12 Deploying the Full App
  • 18:34 Testing the Deployed App
  • 22:26 Successfully Calling the API
  • 24:27 Conclusion

Repo Structure

  • 🖥️ Root: Contains the NextJS frontend application.
  • 🛠️ /backend: Houses the AWS CDK app for backend deployment.

Installation & Setup

Pre-requisites

  • Make sure you have Node.js and npm installed.
  • AWS CLI configured with appropriate permissions.

Steps

  1. Frontend Setup
npm install
npm run dev
  1. Backend Setup
cd backend
npm install
{update the values in `lib/backend-stack.ts`}
cdk deploy

Usage

Once both frontend and backend setups are done, you can access the NextJS app on http://localhost:3000 and interact with the AI functionalities backed by AWS resources deployed via CDK.

Contributions

Feel free to fork the repo and make contributions. Pull requests are welcome!

License

MIT


Happy coding! If you find this resource helpful, consider giving the YouTube video a 👍 and subscribe for more tutorials.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors