Git Product home page Git Product logo

retoindra's Introduction

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 Support us

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Prepare environment local

Please make sure the docker client is initialized on your PC and:

$ docker-compose up

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

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.

Notes by JAKELINE SOFIA CAMPOS CABELLO

NestJs is fully inspired from Angular.
If you want more guidelines (for the naming...) here is the original documentation.

Recommended folder and file structure :

.
└── src
    ├── app.controller.ts
    ├── app.js
    ├── app.module.ts
    ├── app.service.ts
    ├── environments
    ├── api
    │   ├── auth
    │   │   ├── auth.controlleer.ts
    │   │   ├── auth.module.ts
    │   │   ├── auth.servicee.ts
    │   │   ├── dto
    │   │   ├── entities
    │   │   └── interfaces
    │   └── users
    │       ├── dto
    │       ├── entities
    │       ├── interfaces
    │       ├── users.controller.ts
    │       └── users.module.ts
    └── shared
        ├── config
        ├── decorators
        ├── footer
        └── guards

Documentation SWAGGER

SWAGGER

Serveless

# OFFLINE
$ sls offline start

# deploy AWS
$ sls deploy

Notas:

  • Lamentablemente he estado ocupadísima el fin de semana, revisé el correo y me di cuenta que la fecha límite era el domingo a la media noche, ya era muy tarde, y estaba concentrada en otra tarea X.

Para esta entrega consideré:

  • Principios Solid.
  • Agregué el Swagger para la documentación SWAGGER.
  • Configuración de interceptores y decoradores.
  • Configuré una base de datos mysql para el local con un docker-compose.

(**) Considero que hay cosas por completar como mayor detalle en la documentación

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.