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

https://github.com/csvitor-dev/aggelos

Aggelos (or άγγελος 'ángelos') comes from the Greek and means "angel", which in many cultures represents the figure of a messenger. This mini monorepo application has the same purpose: to host messages from its authors to reach other individuals.
https://github.com/csvitor-dev/aggelos

cloudflare-workers hono nextjs serverless turborepo

Last synced: 10 months ago
JSON representation

Aggelos (or άγγελος 'ángelos') comes from the Greek and means "angel", which in many cultures represents the figure of a messenger. This mini monorepo application has the same purpose: to host messages from its authors to reach other individuals.

Awesome Lists containing this project

README

          


aggelos logo, it's trumpet with wings


# `aggelos` | Small Full Stack Monorepo

> [!NOTE]\
> This application is intended to represet a **message manager**,
> where the author and his/her message are listed. When submitting,
> everyone will have access to your message!

## How to run?

As a first step, install the project dependencies:

```bash
# in project root
npm i
```

Then, copy the contents of '.env.example' to a '.env' file.

```bash
# in 'apps/web' and 'packages/db-schema'
cp .env.example .env
```

Now, the project uses the Drizzle ORM. However, there is no automated way to run the migrations through the wrangler (not yet...).

Then, rotate the migrations (one by one) using the command:

```bash
# in 'apps/functions'
npx wrangler d1 execute aggelos-db --local --file=../../packages/db-schema/migrations/{migration-file}.sql
```

> [!WARNING]\
> The above solution is still temporary, until an abstraction is adopted -- be patient!