A full-stack web app built with React (Vite), AWS Amplify Gen 2, providing:
- Frontend: React + Vite
- Data backend: Amplify Data (TypeScript-first schema, real-time API + DynamoDB integration).
- Auth & Permissions: model-level and function-level authorization with API Key, Cognito, or Lambda policies.
- Serverless triggers: Lambda function invoked post-user-signup via an authorization rule.
- Live updates: Real-time subscriptions auto-generated for
a.model()
- Read and follow documentation guide to build and deploy application
- Clone the repository.
git clone https://github.com/Stennis1/profilesapp.git
cd project_dir- Set up dev environment.
- Install Node.JS and npm(if not already installed).
# install node packages
npm install- Run the environment locally.
npm run devThis project structure enables:
- Type-safe, real-time backend via Amplify Data
- Flexible auth rules (API Key, Cognito, Lambda)
- Automatic database + GraphQL API provisioning
- Lambda-triggered workflows (e.g., post-registration)
- Live frontend updates
| Task | Command |
|---|---|
| Start sandbox | npx ampx sandbox |
| Deploy backend | amplify push |
| Run dev server | npm run dev |
- Fork the repository.
- Create a feature branch (
git checkout -b feature/my-feature). - Commit changes (
git commit -m "Add feature description"). - Push change (
git push origin feature/my-feature). - Open a pull request.
This project is licensed under the MIT License. See LICENSE for details.