difagume / die-apps-server

servidor node express para heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-js-getting-started

A barebones Node.js app using Express 4.

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku CLI installed.

$ git clone git@github.com:heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

die-apps-server

Actualizar paquetes npm

https://docs.npmjs.com/getting-started/updating-local-packages

Consultas sql

https://github.com/vitaly-t/pg-promise/blob/master/examples/select-insert.md

Recuperar contraseña

https://www.codementor.io/olatundegaruba/password-reset-using-jwt-ag2pmlck0

env

https://codeburst.io/how-to-easily-set-up-node-environment-variables-in-your-js-application-d06740f9b9bd

Servidor smtp

https://app.mailgun.com/app/dashboard

Imprimir variables de Heroku

heroku run printenv -a die-apps-server

Graphile ejemplos GraphQL

https://www.graphile.org/postgraphile/examples/

Usando PostGraphile como una librería

https://www.graphile.org/postgraphile/usage-library/ https://github.com/mlipscombe/postgraphile-plugin-nested-mutations

graphile/crystal#346 (comment) graphile/crystal#824 (comment)

URL para consultas

http://localhost:5000/graphql

URL interfaz de consultas

http://localhost:5000/graphiql

######## package.json --> webpack ######## "scripts": { "prestart": "webpack", "start": "nodemon index.js", "test": "node test.js" } ##########################################

About

servidor node express para heroku


Languages

Language:CSS 74.8%Language:HTML 11.9%Language:JavaScript 11.1%Language:EJS 2.1%Language:Procfile 0.0%