More Premium Hugo Themes Premium Svelte Themes

Nx Monorepo

NX monorepo setup with SvelteKit and NestJS. Libraries in this repository are not set to be buildable and publishable.

Nx Monorepo

NX monorepo setup with SvelteKit and NestJS. Libraries in this repository are not set to be buildable and publishable.

Author Avatar Theme by exodes
Github Stars Github Stars: 33
Last Commit Last Commit: May 15, 2022 -
First Commit Created: Dec 18, 2023 -
Nx Monorepo screenshot

Overview

This project is a Nx Monorepo with frameworks for developing applications. It uses SvelteKit as the frontend framework, NestJS as the backend framework, Jest as the unit testing framework, and Playwright as the e2e testing framework. It is written in TypeScript and uses ESLint as the code style checker, Prettier as the code formatter, PostCSS as the CSS preprocessor, and TailwindCSS as the CSS framework. Additionally, it utilizes Svelte HeadlessUI as the UI library, Svelte Heroicons as the icon library, Docker for containerization, SemVer for release versioning, and Code Climate for code coverage reporting.

Features

  • SvelteKit as the frontend framework
  • NestJS as the backend framework
  • Jest as the unit testing framework
  • Playwright as the e2e testing framework
  • TypeScript as the programming language
  • ESLint as the code style checker
  • Prettier as the code formatter
  • PostCSS as the CSS preprocessor
  • TailwindCSS as the CSS framework
  • Svelte HeadlessUI as the UI library
  • Svelte Heroicons as the icon library
  • Docker for containerization
  • SemVer for release versioning
  • Code Climate for code coverage reporting

Installation

To set up this project, you will need to install the following plugins:

npm install --save-dev @nxext/sveltekit
npm install --save-dev @nxext/svelte
npm install --save-dev @nrwl/nest
npm install --save-dev @nx-tools/nx-docker
npm install --save-dev @jscutlery/semver

To generate a SvelteKit application, run the following command:

nx g @nxext/sveltekit:application $app-name

To generate a Nest application, run the following command:

nx g @nrwl/nest:app $app-name

To generate a Svelte component library, run the following command:

nx g @nxext/svelte:library $lib-name

To generate a Nest library, run the following command:

nx g @nrwl/nest:library $lib-name

To generate a Nest resource, which consists of a module, controller, service, DTO, and entities for basic CRUD process, run the following command:

nx g @nrwl/nest:resource $resource-name

To generate a Nest module, run the following command:

nx g @nrwl/nest:module $module-name

To generate a Nest controller, run the following command:

nx g @nrwl/nest:controller $controller-name

To generate a Nest service, run the following command:

nx g @nrwl/nest:service $service-name

To generate a Nest resolver, run the following command:

nx g @nrwl/nest:resolver $resolver-name

To generate a Nest gateway, run the following command:

nx g @nrwl/nest:gateway $gateway-name

To generate a Nest middleware, run the following command:

nx g @nrwl/nest:middleware $middleware-name

To generate a Nest interceptor, run the following command:

nx g @nrwl/nest:interceptor $interceptor-name

To generate a Nest filter, run the following command:

nx g @nrwl/nest:filter $filter-name

To generate a Nest guard, run the following command:

nx g @nrwl/nest:guard $guard-name

To generate a Nest pipe, run the following command:

nx g @nrwl/nest:pipe $pipe-name

Summary

This project is a Nx Monorepo with frameworks designed for developing applications. It provides a comprehensive set of features including a frontend framework (SvelteKit), a backend framework (NestJS), unit testing (Jest), e2e testing (Playwright), and various tools for code style checking, formatting, and code coverage reporting. The project also supports containerization with Docker and utilizes SemVer for release versioning. Overall, it offers a smart, fast, and extensible build system for developing applications efficiently.