A serverless application built with SST and Next.js to track daily coffee intake. Features include:
- Track coffee consumption in various units (ml, cups, fl oz)
- Switch between metric and imperial measurements
- View history of coffee consumption
- Serverless DynamoDB backend
- Next.js (Frontend)
- SST (Infrastructure as Code)
- DynamoDB (Database)
- Material UI (UI Components)
- GitHub Actions (CI/CD)
- Node.js 20+
- AWS Account and configured credentials
- VS Code with Dev Containers extension (recommended)
- Clone the repository
- Open in VS Code
- When prompted, click "Reopen in Container"
- Run
npm install - Run
npm run devto start the development server
- Install dependencies:
npm install - Start the development server:
npm run dev - Open http://localhost:3000
The application automatically deploys to AWS when changes are pushed to the main branch.
To deploy manually:
npx sst deploy --stage prodCOFFEE_INTAKE_TABLE: DynamoDB table name (set automatically by SST)
MIT