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.
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.
- Contentful Management SDK
- Preact
- Redux + Redux Saga
- Webpack 2
- CSS Modules via PostCSS & cssnext
- Drag and Drop API
- History API
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
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.
New versions can simply deployed to GitHub pages via npm run deploy. It will run the build process
