My Learning by Doing
Full-Stack App, build with Next/React.
In the app there are 2 roles:
-
Install Dependencies
npm install
-
Run development server:
npm run dev
-
PostgreDB as Docker Container set-up
docker compose up -d
npx prisma generate
npx prisma db push
npx prisma db seed
-
Apply migrations + seed database
npx prisma reset
-
Run Prisma studio
npx prisma studio
Open .env.example to understand what secrets do you need in your .env config file.
N.B.:
You can register with your email and password, and your confirmation email will not be send, due to this, I highly recommend to use Github or Google as login at [https://heartbound.vercel.app](https://heartbound.vercel.app). Because of the nature of resend, which is my email-provider and its set-up only for testing as free version. You will also never receive email for reset-password functionality, due to same reason.
Login and use the app.
Login with test users info:
- TestUser1 - Anna:
- Email:
[email protected]
- Password:
testPassword
- Email:
- TestUser2 - Cassia:
- Email:
[email protected]
- Password:
testPassword
- Email:
- TestUser3 - Andrei:
- Email:
[email protected]
- Password:
testPassword
- Email:
- TestUser4 - Elin:
- Email:
[email protected]
- Password:
testPassword
- Email:
- Login as admin is not available at
heartbound.vercel.app
- Locally, you can check
.env.example
for the needed secrets in your.env
config to seed and run your own administrator.
- Next.js
- NextUI
- NextAuth.js
- React
- React-Icons
- React Hook Form
- React-Toastify
- TailwindCSS
- Zod
- PrismaORM
- bcrypt.js
- Docker
- Cloudinary
- Pusher
- Zustand
- Resend
Test Users pictures from freepik Home page gif created with Canva
App is deployed on Vercel at link.