Skip to content

proyecto26/MyAPI

 
 

Repository files navigation

Nest Logo

MyApi NoSQL Template
⚡️ Launch your api instantly watching changes with live-reload
📈 Highly scalable using Repository design pattern to access the database even easier
😎 OpenAPI with Swagger to describe your RESTful APIs
KISS principle make everything as simple as possible, but not simpler
📱 Mobile friendly supporting Cross-origin resource sharing (CORS) with a list of domains for restricted resources
🔑 Security using JWT authentication strategy with Passport and other techniques to increase the security of your applications
👥 Made for Users. Easily validate permissions for specific routes using Guards with a Role-based access control
Don't repeat yourself, Single responsibility principle.
🔗 Validation: provides pipes available right out-of-the-box with class-validator to enforce validation rules for all incoming client payloads
⚠️ Logger with Winston using different levels to track exceptions easily
🔄 Database seeding using Mongoose to provide an initial set of data to the database

Options (Database Type) 💻

NoSQL Database SQL Database

Installation 📚

# install dependencies
$ yarn

Running the app ▶

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Running Database seeding ▶

# run seed
$ yarn seed

Test 🕵️

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Mongoose

Credits 👍

Supporting 🍻

I believe in Unicorns 🦄 Support me, if you do too.

Donate Ethereum, ADA, BNB, SHIBA, USDT, DOGE:

Wallet address

Wallet address: 0x3F9fA8021B43ACe578C2352861Cf335449F33427

Please let us know your contributions! 🙏

Happy coding 💯

Made with ❤️