A web and text based implementation of the moirai game.
- Nextjs 14
- Tailwind-css
- Typescript
- Neon serverless Posgresql
- Drizzle
First, install dependencies using pnpm:
$ pnpm i
We choose Neon DB, but feel free to use whatever you want, see /src/db/drizzle.ts
-
Copy
.env.example
and rename it to.env
fillNEON_DATABASE_URL
. -
Run script
db:push
to sync schemas.
$ pnpm run db:push
$ pnpm run dev
Now can start editing the page by modifying app/page.tsx
.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.