A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/marzeelabs/cordis-serverless below:

marzeelabs/cordis-serverless: A serverless API for EU Cordis data

Provides a clean and simple REST interface on top of EU Cordis data.

This API uses the serverless framework on Amazon AWS. What is a serverless architecture?

Install serverless framework locally

npm install -g serverless

Connect to your Amazon AWS account, and then deploy

DynamoDB streams aren't managed by Serverless, so these have been set up through the UI.

Example querying graphQL

curl -X POST -H "Content-Type: application/json" -d '{"query": "{ project { rcn, title } }"}' https://5e5qfaxb1c.execute-api.eu-west-1.amazonaws.com/dev/graphql

You can invoke functions locally, like

serverless invoke local -f getProjects

Debug function invokes like

serverless logs -f getProjects

Count number of items in a DynamoDB table

aws dynamodb scan --table-name=cordis_projects --select "COUNT"

MIT © Marzee Labs


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4