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.
🎥 Watch the full tutorial on YouTube
- 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
- 🖥️ Root: Contains the NextJS frontend application.
- 🛠️ /backend: Houses the AWS CDK app for backend deployment.
- Make sure you have Node.js and npm installed.
- AWS CLI configured with appropriate permissions.
- Frontend Setup
npm install
npm run dev
- Backend Setup
cd backend
npm install
{update the values in `lib/backend-stack.ts`}
cdk deploy
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.
Feel free to fork the repo and make contributions. Pull requests are welcome!
MIT
Happy coding! If you find this resource helpful, consider giving the YouTube video a 👍 and subscribe for more tutorials.