I'm using serverless and serverless-webpack. webpack config is pretty straightforward:  const path = require('path'); const nodeExternals = require('webpack-node-externals');  module.exports = {     entry: {         lambda: '....
I have a problem with CORS, the problem is my code is executed (status 200) but I have an error in Google Chrome developer console.  My code:  function callUrl(url) {     var xmlhttp = null;      if (window.XMLHttpRequest) {         xmlhttp = new XML...
I have installed aws-cli and serverless in my windows 7 machine from command npm install -g aws-cli serverless and also successfully configured aws and sls  aws configure sls config credentials --provider aws --key <my-access-key> --secret <...
I'm trying to following this example, https://www.apollographql.com/docs/apollo-server/deployment/lambda/, to create a serverless GraphQL server which returns 'Hello world'.  The root directory contains essentially just two files, graphql...
I have a lambda/server less function that is going to perform several API calls that will take some time. I want to update the user on the front end as each task completed (progress bar style) but the only way I'm aware of to send information bac...
I am not sure why but my webhook is being fired twice in my cron job. So this cron job is suppose to run once every 15 min which it does, but it is firing off twice. I will post the logs, handler and yml file to help out.  Basically my cron job will...
This question is pretty much the same as Serverless offline not getting route, but since that one was not answered I'm asking again. I'm trying to follow this article, https://medium.com/@awesome1888/how-to-use-serverless-locally-with-webpack...
I'm building out a Serverless architecture where all business logic is hosted on Google Cloud Functions.  I want to push the frontend to the client side, but I have no idea how to make a "static" website with just enough Javascript to ma...
My API gateway (using serverless) is setup to respond correctly:    function buildResponse(statusCode, body) {   // console.log(body);   return {     statusCode: statusCode,     headers: {       "Access-Control-Allow-Origin": "*",...
So I have been following an advanced dynamodb design pattern involving my range / sort keys to contain items / status appended to the string. An example is as follows:  Sort key  NY#NYC#JFK11  The example above is essentially a location. The challeng...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.