Skip to content

thetechmaze/book-library-next-dynamo

Repository files navigation

How to Build a Book Library (CRUD App) with Nextjs 14, AWS Lambda, AWS Api Gateway and DynamoDb

A simple Book Library app built using Next.js 14, Tailwind CSS, AWS DynamoDB, AWS Lambda and AWS API Gateway. This app showcases CRUD (Create, Read, Update, Delete) operations for managing books, with server actions in Next.js and DynamoDB as the database.

thumbnail

Youtube: Watch

Article: blog

Prerequisites

  • Node.js installed locally.
  • An AWS account to use DynamoDB, Lambda and API Gateway.
  • AWS API Gateway URL added to .env.local.

Getting Started

  1. Clone the repository:

    git clone https://github.com/thetechmaze/book-library-next-dynamo.git
  2. Install Dependencies

    npm install
  3. ** AWS SETUP **

    Make sure that you have the aws dynamodb, lambda and api gatway ready by following this article or video

  4. Set up Environment variables

    Create a .env.local file in the root directory and add your AWS credentials:

    AWS_API_URL=your-url
  5. Run the development server

    npm run dev

    Open http://localhost:3000 in your browser to see the app in action.

Deployment

To Deploy this app, you can use platforms like Vercel or Netlify. Ensure you have your environment variables set correctly on the chosen platform.

License

This project is open source and available under the MIT Licence.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors