Skip to content

Stennis1/profilesapp

Repository files navigation

Amplify - React + Vite App

Project Overview

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()

Setup & Usage

OPTION A - Using Deployment Guide (Advised if you want to build the project)


OPTION B - Installation/Running Project from This Repository

  1. Clone the repository.
git clone https://github.com/Stennis1/profilesapp.git
cd project_dir
  1. Set up dev environment.
  • Install Node.JS and npm(if not already installed).
# install node packages 
npm install
  1. Run the environment locally.
npm run dev

Summary

This 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

Quick Commands

Task Command
Start sandbox npx ampx sandbox
Deploy backend amplify push
Run dev server npm run dev

Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/my-feature).
  3. Commit changes (git commit -m "Add feature description").
  4. Push change (git push origin feature/my-feature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See LICENSE for details.

About

Build a simple full-stack web application using AWS Amplify

Topics

Resources

Stars

Watchers

Forks