This repository contains a template for a full-stack application utilizing a powerful tech stack: NX workspace, NestJS, NextJS, Prisma, and Ory. This combination offers a scalable, modern architecture suitable for complex applications.
- NX Workspace: Efficient monorepo management for sharing code and tools.
- NestJS: A versatile, progressive Node.js framework for building efficient and scalable server-side applications.
- NextJS: A React-based framework for building user-friendly and performant web applications.
- Prisma: Next-generation ORM for Node.js and TypeScript, simplifying database workflows.
- Ory: Robust security layer offering identity management, authorization, and authentication.
- Node.js (version 18)
- pnpm
- Docker
-
Clone the Template Repository
You can perform this step through the GitHub UI.
-
Clone your Forked Repository
git clone https://github.com/your-name/your-repo.git
-
Install Dependencies
pnpm install
-
Environment Configuration
Set up your
.env
file based on the provided.env.example
. -
Startup the Stack
pnpm dev:docker:up
-
Run Migrations
pnpm migrate:deploy
-
Development Mode
pnpm dev:api # or pnpm dev:www
-
Production Build
pnpm build:api # or pnpm build:www
Contributions are welcome. Please follow the standard Git workflow - fork, branch, and pull request.
This project is licensed under the Apache 2.0 - see the LICENSE
file for details.