Overview
This project is an updated version of the nuxtjs-nestjs-starter repository with some minor changes. It combines the Nest.js and Nuxt.js frameworks to create a full TypeScript project using yarn as the packager. The project structure is organized into server, client, and common directories.
Features
- Node.js Testing
- Docker Image Build
- Nest.js integration
- Nuxt.js integration
- TypeScript project
- Yarn as packager
- Choice of HTTP adapter (express or fastify)
- Data sharing between Nuxt.js and Nest.js
- Server settings via process.env
- Production deployment options (multistage Dockerfile or classic node.js)
- Compatibility caveats with webpack versions
Installation
- Clone the repository
- Navigate to the cloned directory
- Install dependencies using the command
yarn install - Start development server using the command
yarn dev - Build the project using the command
yarn build - Start the production server using the command
yarn start
Summary
This project is an updated version of the nuxtjs-nestjs-starter repository and combines the Nest.js and Nuxt.js frameworks to create a full TypeScript project. It provides options for testing, Docker image building, and choice of HTTP adapter. The project structure is organized into server, client, and common directories. It uses yarn as the packager and provides production deployment options. However, there are compatibility caveats with webpack versions that need to be taken into account. Overall, this project offers a convenient and efficient way to integrate Nest.js and Nuxt.js for TypeScript projects.