This is a Next.js project bootstrapped with create-next-app
.
Original repo from sankharr
- Create a new table
- Read from a table
- Update a table
- Delete a record from a table
-
This project is a work in progress. Only works in local developer mode with DynamoDB and AWS credentials are required.
-
This project uses
next/font
to automatically optimize and load Inter, a custom Google Font.
1 - Clone the repository
```bash
git clone https://github.com/hharieta/aws_crud_archie.git
cd aws_crud_archie
```
2 - Set up your AWS credentials: Create a .env file at the root of the project and add your AWS credentials
```bash
# Create a .env file at the root of the project
NEXT_PUBLIC_AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxxxxxx"
NEXT_PUBLIC_AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```
3 - Run the development server:
```bash
yarn install
yarn dev
```
4- Open http://localhost:3002 with your browser to see the result.