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!
As a first step, install the project dependencies:
# in project root
npm iThen, copy the contents of '.env.example' to a '.env' file.
# in 'apps/web' and 'packages/db-schema'
cp .env.example .envNow, 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}.sqlWarning
The above solution is still temporary, until an abstraction is adopted -- be patient!
