Skip to content

jmloudis/ReactNest-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactNest-Starter

  • Full-stack boilerplate for modern TypeScript applications with NestJS, Prisma, PostgreSQL, GraphQL, and Next.js + React. Ready-to-use setup with feature-based folder structure and type-safe GraphQL integration.
  • Have a basic Users feature to create and list users that can be reached @ /users endpoint

TechStack

  • Backend: NestJS + GraphQL + Prisma + PostgreSQL
  • Frontend: Next.js (App Router) + React + Apollo Client
  • Database: PostgreSQL, Redis (in future)
  • GraphQL Codegen: Type-safe queries and mutations
  • Languages: TypeScript

requirements

  • Node.js ≥ 22
  • npm ≥ 9
  • Docker (optional, for Postgres)
  • PostgreSQL ≥ 15 (if not using Docker)

Running on local

  • npm install

  • Env Vars:

    • Backend: apps/api/.env
    • Frontend: apps/frontend/.env.local
  • Start Postgres DB: docker compose -f docker/postgres.yml up -d

  • Run database migrations:

    • cd apps/api
    • npx prisma migrate dev --name init
    • npx prisma generate
  • Start development server:

About

Full-stack boilerplate for modern TypeScript applications with NestJS, Prisma, PostgreSQL, GraphQL, and Next.js + React. Ready-to-use setup with feature-based folder structure and type-safe GraphQL integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors