A modern web application with a GraphQL API server and Next.js client.
bare/
├── client/ # Next.js frontend application
├── server/ # GraphQL API server
└── README.md # Project documentation
- Node.js 18+
- pnpm
- PostgreSQL
Both the client and server require environment variables to be set up. Copy the .env.example files in both directories and update them with your values:
# For server
cp server/.env.example server/.env
# For client
cp client/.env.example client/.env# Install dependencies for both client and server
cd server && pnpm install
cd ../client && pnpm install# Start the server (from server directory)
pnpm dev
# Start the client (from client directory)
pnpm dev- GraphQL API with Apollo Server
- Next.js frontend
- Authentication with NextAuth.js
- PostgreSQL database with Drizzle ORM
- TypeScript throughout
- Path aliases for clean imports