A simple Todo app built using Next.js 14, Tailwind CSS, and AWS DynamoDB. This app demonstrates how to create, read, update, and delete (CRUD) todos with server actions in Next.js and DynamoDB as the database.
- Create, update, and delete todos with UI.
- Server-side actions for backend logic, connected to AWS DynamoDB.
- Popup modal for adding and editing todos.
- Basic error handling implemented with try/catch.
- Node.js installed locally.
- An AWS account to use DynamoDB.
- DynamoDB table named
todo. - AWS credentials added to
.env.local.
-
Clone the repository:
git clone https://github.com/thetechmaze/dynamo-todo.git
-
Install Dependencies
npm install
-
Set up Environment variables
Create a
.env.localfile in the root directory and add your AQWS credentials:AWS_ACCESS_KEY_ID=your-access-key-id AWS_SECRET_ACCESS_KEY=your-secret-access-key
-
Run the development server
npm run dev
Open http://localhost:3000 in your browser to see the app in action.
To Deploy this app, you can use platforms like Vercel or Netlify. Ensure you have your environment variables set correctly on the chosen platform.
This project is open source and available under the MIT Licence.