GithubHelp home page GithubHelp logo

nodetses6babel's Introduction

nodeTsEs6Babel

PRIMEROS PASOS

Clonar el repositorio:

$ git clone https://github.com/RoxnnyABarriosC/nodeTsEs6Babel.git

Configura tu usuario y contraseña y presiona enter. Luego entra a la carpeta nodeTsEs6Babel.

cd nodeTsEs6Babel

INSTALACION

require:

  1. Node.js v16+
  2. TypeORM v0.3+
  3. Babel v7+
  4. TypeScript v4+
  5. Nodemon v2+

Instala las dependencias y las de desarrollo haciendo:

pnpm i

NOTE: Si no tines intalado pnpm puedes hacerlo ejecutanto npm i -G pnpm

Luego crea un nuevo archivo .env, copia y pega todas las variables del archivo .env.example y pon los valores correspondientes como sigue:

NODE_ENV=development
URL_API=<protocol>://<domain><port><prefix><version>
URL_WEB=http://localhost:3000
PREFIX=/api
PORT=3000
VERSION=/v1

DB_HOST=localhost
DB_USER=nodetses6babel
DB_DATABASE=nodetses6babel
DB_PASSWORD=nodetses6babel
DB_PORT=5433
DB_SYNCHRONIZE=true
DB_TYPE=postgres

PAGINATION_LIMIT=10

SET_COOKIE_SECURE=true
SET_COOKIE_SAME_SITE=none

JWT_SECRET=nodetses6babel
JWT_EXPIRES=600000
JWT_ISS=nodetses6babel
JWT_AUD=nodetses6babel.com

ENCRYPTION_DEFAULT=bcrypt

LOCALE=es

PUESTA EN MARCHA

Debes usar ${pnpm start:dev}, Por ejemplo.

$ pnpm start:dev

COLECCION EN POSTMAN: aqui

nodetses6babel's People

Contributors

roxnnyabarriosc avatar

Stargazers

Henry Gómez avatar

Watchers

 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.