Skip to content
Example application to demonstrate the new direct file upload feature of Contentful.
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit e674b17 May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src updates as per suggestions May 3, 2018
test test(e2e): add simple e2e tests via cypress Feb 27, 2018
.babelrc refactor(bundle): avoid lodash duplication Dec 27, 2017
.eslintrc.js test(e2e): add simple e2e tests via cypress Feb 27, 2018
.gitignore test(e2e): add simple e2e tests via cypress Feb 27, 2018
.travis.yml ci(travis): add travis config and codecov Feb 27, 2018
README.md
cypress.json test(e2e): add simple e2e tests via cypress Feb 27, 2018
package.json Update package.json May 23, 2019
postcss.config.js barebone init Mar 1, 2017
screenshot.png docs(README): add screenshot Dec 27, 2017
webpack.config.js refactor(bundle): async code splitting & css caching Dec 27, 2017

README.md

File Upload Example

Build Status codecov dependencies Status js-standard-style

This project is an example to demonstrate our new direct file upload feature for the Content-Management-SDK released at the beginning of March 2017.

About

Contentful provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.

Technologies

Usage

You can find a ready to use version of this app here: https://contentful-labs.github.io/file-upload-example/

Alternatively clone this repository, run npm install and start a dev server via npm run dev

Development

The minimum supported node version for development is v7.6 since Koa v2 requires node v7.6 or above.

Via npm run dev you can spawn a Webpack dev server with live reload for the app source files and auto restart for changed configuration files.

To test the app in a production environment, build it via npm run build and start a production alike server via npm run prod.

Deployment

New versions can simply deployed to GitHub pages via npm run deploy. It will run the build process

You can’t perform that action at this time.