Giter Club home page Giter Club logo

box-start's Introduction

The to-do app with Box as backend

Run with Postverta badge

This app is a twist of the simple to-do app which stores all to-do items in memory. Here, we use the Box API to store all to-do items in your Box account, so it can stay there until the end of the world. How cool is that?

Run the app

To run the app, you will need your Box developer credentials, which include a client ID, a client secret, and a developer token. First, register a Box app at Box's developer console. Choose Custom App as your application type and OAuth 2.0 with JWT as your authentication method.

After the app is created, go to its configuration to find your credentials: How to find your credentials

If no developer token is available, generate one. Note that each developer token is valid only for 60 minutes.

Enter the client ID, client secret, and developer token to the .env file, and you should be good to go!

Add a few to-do items, and go to your Box account to see a new directory todos created with all your to-do items inside!

Next step

Try to extend the app so that it takes both a name and a more detailed body of a to-do item, and stores it in Box as a text file.

The developer token is only valid for 60 minutes so to be really useful, we need to convert the app to use OAuth.

box-start's People

Contributors

angl avatar

Stargazers

Milan Rawal avatar

Watchers

 avatar James Cloos avatar

Forkers

zenmilan

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.