Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wrh34685/astroproject

First Astro build with AWS DynamoDB, Lambda functions and API Gateway.
https://github.com/wrh34685/astroproject

astro aws aws-apigateway aws-dynamodb aws-lambda preact

Last synced: 16 days ago
JSON representation

First Astro build with AWS DynamoDB, Lambda functions and API Gateway.

Awesome Lists containing this project

README

        

# ⚓ Williams Astro App

The app requests affirmations from an AWS DynamoDB, populated with affirmations, via a Lambda endpoint.
Built as a test project using Astro, Preact and AWS services.

## 🏯 Affirmations App

Sourced from: [Stay Happy](https://community.aws/content/2e0HjEBi7MAY40KTLoOtVEX9Lf8/build-an-affirmation-app)

Affirmations for daily consumption!
The affirmations on this site were created originally by @annthurium. Thank You!

## 🚀 Project Structure

Inside of an Astro project, you'll see the following folders and files:

```text
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Card.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

## 👀 Want to learn more about Astro?

Check [Astro Documentation](https://docs.astro.build) or jump into their [Discord server](https://astro.build/chat).