Gallery App is a full-stack application for posting, previewing, and liking pictures.
- User Authentication with Google
- Post pictures (only for logged-in users)
- Like pictures (only for logged-in users)
- View posted pictures
- Frontend: Next.js, Tailwind CSS
- Backend: tRPC, Prisma
- Database: Neon (PostgreSQL)
- Authentication: NextAuth.js
- Deployment: Vercel
-
Clone the repository:
git clone https://github.com/mango-habanero/gallery.git
-
Install the dependencies:
cd gallery npm install
-
Set up the environment variables:
- Copy the
.env.example
file and rename it to.env.local
. - Fill in the required environment variables.
- Copy the
-
Run the development server:
next dev