Dream5 is a mobile-only web application that allows users to bet on the teams to get scores.
- React Router v7
- Tailwind CSS
- Shadcn UI
- Recharts for the beautiful charts
- Vite for the build
- Prisma as the ORM
- Supabase as the database
- Vercel for hosting and deployment
- Install postgres@15
brew install postgresql@15- Add it to your PATH and use the correct version of pg_dump:
echo 'export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH"' >> ~/.zshrc- Backup the database
Use the hostname starting with aws- and port number 6543 for supabase database.
pg_dump -h [host] -p [port] -U [user] -d [database] -F p > backup.sqlThis will ask for password. Enter the password for the user.
- Restore the database
psql -h [host] -p [port] -U [user] -d [database] -f backup.sqlBuilt with ❤️ using React Router.