Coder Social home page Coder Social logo

codechef-sample-app's Introduction

Codechef Sample APP

This is a minimal baisc app which implments codechef oauth and makes an API request.

To run the app, simply:

  1. Clone the project
  2. cd codechef-sample-app
  3. Add client key and client secret that you get when you create an app on codechef to index.php (around line 71).
  4. run simple php server using this: php -S localhost:8000
  5. open localhost:8000, you will get permissions page from codechef. On giving permissions, response recieved from making an api request to contest problem will be dumped on screen.

Note: No database, cache, session etc is used while creating this app. This is only a sample app to help you figure out how to implement codechef oauth and make a simple api request using access token, and getting new access token and refesh token using previous refresh token.

codechef-sample-app's People

Contributors

miss-invincible avatar

Watchers

 avatar

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.