Skip to content

Starter NX monorepo, using affected, nx cloud cache, with next.js as frontend, nest.js as backend and more

License

Notifications You must be signed in to change notification settings

AnatolyChesnokov/nx-monorepo-next-nest-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monorepo-fullstack-app

Overview

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.

Features

  • 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.
  • NX Cloud: Distributed task execution and caching for faster builds and CI/CD pipelines.

Getting Started

Prerequisites

  • Node.js (version 22)
  • pnpm
  • Docker

Installation

  1. Clone the Template Repository

    You can perform this step through the GitHub UI.

  2. Clone your Forked Repository

    git clone https://github.com/AnatolyChesnokov/nx-monorepo-next-nest-gitlab-ci.git
    
  3. Install Dependencies

    pnpm install
  4. Environment Configuration

    Set up your .env file based on the provided .env.example.

  5. Startup the Stack

    pnpm dev:docker:up
  6. Run Migrations

    pnpm migrate:deploy

Running the Application

  • Development Mode

    pnpm dev:api
    # or
    pnpm dev:www
  • Production Build

    pnpm build:api
    # or
    pnpm build:www

Documentation

Contributing

Contributions are welcome. Please follow the standard Git workflow - fork, branch, and pull request.

License

This project is licensed under the Apache 2.0 - see the LICENSE file for details.

About

Starter NX monorepo, using affected, nx cloud cache, with next.js as frontend, nest.js as backend and more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published