Coder Social home page Coder Social logo

voorhoede / voorhoede-colibri-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 573 KB

A RESTful and a GraphQL API exposing Voorhoede website content.

Home Page: https://voorhoede-colibri-api.now.sh/

License: MIT License

JavaScript 77.63% HTML 15.40% CSS 6.97%
graphql api restful datocms swagger openapi api-guide

voorhoede-colibri-api's Introduction

Voorhoede Colibri API

A RESTful and a GraphQL API exposing Voorhoede website content.

The API is backed by a DatoCMS instance where content is managed.

The API and its documentation is available on voorhoede-colibri-api.now.sh. Note that because it runs on the free tier of Now, it needs to spin up if it isn’t used for a while — which makes it slow the first time ’round 😴.

Devices and appliances connected to the API

Development

Getting started

  • Clone the repository.
  • Copy .env.example to .env. You can find the DATA_API_TOKEN in the CMS settings > API Tokens. The CMS can be accessed using the [email protected] account (details in LastPass).
  • Run npm install. Then use any of the pre-configured scripts.

Scripts

This project requires Node.js (>= v8) and npm (comes with Node).

After installing dependencies using npm install the following scripts are available:

npm run ... Description
data Downloads all data from CMS to the file system.
deploy Deploys application to now and aliases latest deploy to voorhoede-colibri-api.now.sh.
dev Starts local server with auto restart on file change on http://localhost:2473.
start Starts local server in production mode on http://localhost:2473.
test Run automated endpoint tests.
watch Run tests on file changes.

License

MIT licensed © De Voorhoede

voorhoede-colibri-api's People

Contributors

jbmoelker avatar

Watchers

 avatar  avatar

voorhoede-colibri-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.