Its the future, fortune 500 companies have already started jumping on board and are implementing it along with a slew of startups. Now IBM, Google, and Microsoft are implementing their own FaaS (Function as a Service) Check out serveless.com
@sosana
all things javascript
Web & Mobile App coding enthusiast who loves programming all day and night. Lover of all things JavaScript from learning new libraries and frameworks to scaling them with node.js and aws. I take it one day at a time like fine aging wine.
Keeping up to date with new or existing technologies to apply innovation to do cool sh*t! Side passions are robots, drones, behavioral science, and artificial intelligence.
JavaScript Full Stack Software Development Engineer, groovy baby yeah!!! (Austin Powers voice)
Nothing here yet.
No blogs yet.
Its the future, fortune 500 companies have already started jumping on board and are implementing it along with a slew of startups. Now IBM, Google, and Microsoft are implementing their own FaaS (Function as a Service) Check out serveless.com
@alvarp yes it is built on top of it and so are a bunch of other frameworks for creating api's. Using swagger and angular having nothing to do with loopback api services. Either way to each their own on your template engine and frontend framework. Me personally like things that are free and like the freedom of creating your own api backend :)
Why not build your api for free with express.js? and than push it to heroku or aws (amazon web service)? heck you could use aws api gateway or use expressjs with my current favorite serverless (aws lambda). For working with expressjs, just google creating api's with express.js and tons of blogs and walk throughs to get up and running. Check out mern starter for api example or check out my repo (includes jwt auth with passport and bcrypt) FYI with AWS free tier that expires after one year: Amazon API Gateway 1 Million API Calls per month* AWS Free Tier (Non-expiring Offers) aka never expires : AWS Lambda 1,000,000 free requests per month** Up to 3.2 million seconds of compute time per month**
@milo you can remove it a few different ways. remove dummyData(); Line number 50 in server.js remove collection post from mongodb shell delete individual posts documents for "Lorem ipusm" content When you first clone the app before starting it, you can remove invoking seeding database by removing dummyData(); shown on line 50 here in server.js . Long as you have at least one post in your collection it won't seed the data base, check the dummyData.js file here if you already seeded the database as indicated in your question, another way is to remove it is from the mongodb shell via command line. Here are the explanations followed by commands: make sure mongodb is running mongod logs you into the mern-starter database mongo mern-starter to see the collection (referred to table in sql or other databases) you should see a post collection show collections will show you the individual post documents db.posts.find().pretty() will keep your collection post but delete all your post records within the collection, also has arguments you can pass as options for certain post documents to delete look here for more info db.post .remove() will delete your entire post collection for more delete methods and options take a look here db.post .drop() Other people use a ui interface such as Robo Mongo , to play without paying just use an older version.
webpack handles bundling multiple files into one file or loads multiple files in chunks depending on size of your app. This includes css and js. I wouldn't say it just works as webpack is confusing at first at how you set this up for dev and production builds. I constantly refer to @bebraw SurviveJS - Webpack https://leanpub.com/survivejs-webpack and I highly recommend it :). There is also a gitter chat dedicated to this book regarding webpack where the community will help with questions https://gitter.im/survivejs/webpack
Roger ol buddy ol pal, hope all is well my friend :) I recommend using express and bodyparser middleware for basic setup of your mini app displaying your json. To get the json file's content : var foo = require ( './path/to/your/file.json' ); To send the json to your view: function getJson ( req, res, next ) { res.send(foo); } While this will work, do take note that require calls are cached and will return the same object on each subsequent call. Any change you make to the .json file when the server is running will not be reflected in subsequent responses from the server. hit me up on gitter calgary chat room so we can chat more and I can help you out bra. Also I like your all things javascript @misterhtmlcss and @equimper repo wink wink nodge nodge ;)