Giter VIP home page Giter VIP logo

nestjs-apps-collection's Introduction

Nest Logo

nestjs-collections-apps

Collection example apps with NestJS and Typeorm, Sequelize, Mongodb, PostgreSQL, GraphQL, Mercurius, etc. for the NestJS community ๐Ÿ˜ป

Install workspace

$ pnpm install

Running a sample app

$ npx nx serve [name-app] # for example: npx nx serve nestjs-api-mongoose

or

$ nx serve [name-app] # for example: npx nx serve nestjs-api-mongoose

Running all unit tests

 $  npx nx affected:test

or

 $  nx affected:test

Running all end-to-end tests

 $  npx nx affected:e2e

or

 $  nx affected:e2e

Generate an application

Run npx nx g @nx/nest:app my-app to generate an application.

You can use any of the plugins above to generate applications as well.

When using Nx, you can create multiple applications and libraries in the same workspace.

Generate a library

Run npx nx g @nx/nest:lib my-lib to generate a library.

You can also use any of the plugins above to generate libraries as well.

Libraries are shareable across libraries and applications. They can be imported from @nestjs-collections-apps/mylib.

Development server

Run npx nx serve my-app for a dev server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.

Build

Run npx nx build my-app to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

License

MIT licensed

nestjs-apps-collection's People

Contributors

dependabot[bot] avatar renovate[bot] avatar tony133 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.