Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.02 KB

File metadata and controls

44 lines (32 loc) · 1.02 KB

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:

# in project root
npm i

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

# 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:

# 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!