A progressive Node.js framework for building efficient and scalable server-side applications.
Databases recipe for Mau.
- Install necessary dependencies
$ npm install
$ npm install -g @nestjs/mau
- Create a new Mau project.
- Within that project, create 1 application.
- Create a database of your choice (PostgreSQL, MySQL, MongoDB, etc.).
- Generate API keys for your application and run the following commands:
$ npm run build
$ mau deploy
DB_HOST=
DB_PORT= # 3306 for MySQL, 5432 for PostgreSQL
DB_USERNAME=
DB_PASSWORD=
DB_NAME=
# Mongo
MONGODB_URI=
MONGODB_USER=
MONGODB_PASSWORD=
# Redis
REDIS_HOST=
REDIS_PORT=
REDIS_TOKEN=
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.