A simple todo application that consumes the Cosmic JS API. Built using React, Redux, and Node.js.
- Go to Cosmic JS and create a new Bucket to store your todos.
- Download the app:
git clone https://github.com/cosmicjs/todo-app
cd todo-app
yarn
- Edit the config located in
client/config.js
to point to your Cosmic JS Bucket Slug
export default {
bucket: {
slug: 'your-bucket-slug', // add your Bucket slug here
type_slug: 'tasks',
read_key: '', // add read key if added to Cosmic JS > Your Bucket > Settings
write_key: '' // add write key if added to Cosmic JS > Your Bucket > Settings
}
}
- Start the app
yarn start
- Go to http://localhost:3000 to manage your Todos.