An open API service indexing awesome lists of open source software.

https://github.com/awsfundamentals-hq/appconfig-feature-flags

✨ Simple Feature Flagging via AppConfig
https://github.com/awsfundamentals-hq/appconfig-feature-flags

appconfig aws cloud feature-flags lambda newsletter

Last synced: 3 months ago
JSON representation

✨ Simple Feature Flagging via AppConfig

Awesome Lists containing this project

README

          

# AWS AppConfig Feature Flag Demo

![demo](docs/demo.gif)

This project demonstrates the use of Amazon API WebSocket Gateway using SST (Serverless Stack) v3.

## Getting Started

To run this application, follow these steps:

1. Ensure you have Node.js installed on your system.
2. Clone this repository to your local machine.
3. Install the dependencies by running `pnpm i` in the project root directory.
4. Start the development server by running:

```
npx sst dev
```

This command will deploy the application to your AWS account and start the local development environment.

## About the Project

This application is built using SST v3, which provides a powerful framework for building serverless applications.

It showcases how you can use AppConfig to provide real-time feature flags to your application.

## Project Structure

- `sst.config.ts`: SST configuration file
- `app/page.tsx`: Main Next.js page for the frontend
- `functions/api.ts`: Function talking to AppConfig to get the current feature flag state

## Learn More

To learn more about SST and how to use it for serverless development, check out the [SST documentation](https://docs.sst.dev/).