kylealwyn / node-rest-api-boilerplate Goto Github PK
View Code? Open in Web Editor NEWES6 Node Rest API boilerplate with Mongo Datastore
License: MIT License
ES6 Node Rest API boilerplate with Mongo Datastore
License: MIT License
This package is brilliant. Great boilerplate using es6 with just the right amount of packages to get going.
Just wanted to say thanks for putting in the time to create it and then share it!
I'm sure it's something silly, but when I try to push this to heroku i get an app crashed with this error. Could this have something to do with the .env file?
2017-09-03T17:43:47.650933+00:00 heroku[web.1]: State changed from crashed to starting
2017-09-03T17:43:50.252528+00:00 heroku[web.1]: Starting process with command `npm start`
2017-09-03T17:43:53.249601+00:00 app[web.1]:
2017-09-03T17:43:53.249619+00:00 app[web.1]: > [email protected] start /app
2017-09-03T17:43:53.249620+00:00 app[web.1]: > node
2017-09-03T17:43:53.249620+00:00 app[web.1]:
2017-09-03T17:43:53.768542+00:00 heroku[web.1]: State changed from starting to crashed
2017-09-03T17:43:53.757113+00:00 heroku[web.1]: Process exited with status 0
2017-09-03T17:43:55.336112+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tranquil-mountain-51560.herokuapp.com request_id=b0188ff3-83d8-4e83-8abf-4b833061c29b fwd="71.184.137.140" dyno= connect= service= status=503 bytes= protocol=https
2017-09-03T17:43:55.417208+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=tranquil-mountain-51560.herokuapp.com request_id=47bbbd36-656f-44cc-a50f-30fa135ccdb4 fwd="71.184.137.140" dyno= connect= service= status=503 bytes= protocol=https
2017-09-03T17:43:55.702863+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=tranquil-mountain-51560.herokuapp.com request_id=5c88b619-6170-40cb-95d4-9c2b2330996a fwd="71.184.137.140" dyno= connect= service= status=503 bytes= protocol=https
2017-09-03T17:43:58.398308+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tranquil-mountain-51560.herokuapp.com request_id=fd56c026-6381-4473-a744-1a4f02c3656c fwd="71.184.137.140" dyno= connect= service= status=503 bytes= protocol=https
Autoscroll with output Save
heroku.com Blogs Careers Documentation
Support
in .env example:
mongo://...
should be:
mongodb://...
This command doesn't copy some folder like public etc to the dist folder.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.