Skip to content

fxfuren/back-crm

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

This backend API for my pet-project crm-app. It's built with NestJS framework.

Docker-compose setup

To run the application with Docker-compose, you need to have Docker and Docker-compose installed on your machine

$ docker-compose up
# or
$ docker compose up

Project setup

# install packeges
bun install

# generate prisma __generate__
bunx prisma generate

# push data on database
npx prisma db push

# first initilization data in db when docker is running
bun seed

Compile and run the project

# development
$ bun start

# watch mode
$ bun start:dev

# production mode
$ bun start:prod

Run tests

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Resources

Check out a few resources that may come in handy when working with NestJS:

  • Visit the NestJS Documentation to learn more about the framework.
  • For questions and support, please visit our Discord channel.
  • To dive deeper and get more hands-on experience, check out our official video courses.
  • Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
  • Need help with your project (part-time to full-time)? Check out our official enterprise support.
  • To stay in the loop and get updates, follow us on X and LinkedIn.
  • Looking for a job, or have a job to offer? Check out our official Jobs board.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.