# ai.lution — The stack behind the reel.

The tools, links, and setup notes in one place. A small stack for your next useful thing.

https://ailution.cc/build-kit/

## The resources

### 01 / Hosting & APIs: Cloudflare Workers

https://developers.cloudflare.com/workers/

Run your app’s API close to your users. For this resource site, we use Cloudflare Pages to serve static files.

### 02 / Database: Neon

https://neon.com/docs/introduction

Create a Postgres project, copy its connection string into your server-side environment, and keep it out of your repository.

### 03 / File storage: Cloudflare R2

https://developers.cloudflare.com/r2/

Create a bucket for uploads. Keep it private unless you intend the files to be public; use a Worker binding for server-side access.

### 04 / Email: Resend

https://resend.com/docs/introduction

Verify a sending domain, configure its DNS records, and send transactional email from your server.

### 05 / AI playground: Google AI Studio

https://aistudio.google.com/

Prototype a prompt, try it with representative inputs, and move your API key into server-side secrets when you build.

### 06 / Version control: GitHub

https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories

Keep your code and content in a repository. Use pull requests to review changes and connect your main branch to deployment.

## Setup checklist

- [ ] Create the repository
- [ ] Set up only the services your app needs
- [ ] Keep credentials in environment secrets
- [ ] Build and test locally
- [ ] Deploy and connect your domain
- [ ] Test the live link on your phone

## Local commands

For a Node.js project with a build script:

```sh
npm install
npm run build
```
