Coder Social home page Coder Social logo

nest-steps's Introduction

Loomi

Nest Steps

Nest Steps is a nestJS boilerplate to jump initial stages of development.

Requeriments

  • Docker, Docker compose and NestJS

๐Ÿ’ป Running locally

Setup

(nano | vi | vim| nvim ) .env

Create .env follow the .env.example

yarn or npm install

Install js dependencies

Runing Local

npm run start:dev

Access http://localhost:{ENV.PORT} to see the swagger documentation

Runing with Docker

sudo docker-compose build && sudo docker-compose up -d && sudo docker-compose logs -f

Run the docker to up the adminer, api and databases

Access http://localhost:{ENV.PORT} to see the swagger documentation

๐Ÿ˜Ž "Code" Quickly

Generate CRUD for basic Entity

nest generate resource {name of entity}

Generate initial CRUD (add entity repository to respect single responsibility rule)

Use Prisma

git merge feature/add-prisma-orm

execute your queries quickly.

Use Firebase

git merge feature/add-firebase

Get all firebase function to authenticate and authorize user.

Use Passport

git merge feature/add-passport

you don't like firebase?? passport help you in authenticate and authorize user.

Use s3

git merge feature/add-s3

Get all s3 function to handle images.

๐Ÿ’ป Testing

UNIT

Don't need of the project run to test!

npm run test:unit

To run tests in time of development with hot-reload

npm run test:ci

To run all tests of the project and generate coverage

Made with โค๏ธ by Loomi

nest-steps's People

Contributors

guilherme4g avatar brunossantana 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.