Giter VIP home page Giter VIP logo

calcentral-front-end's Introduction

Calcentral Front End

Build Status

Calcentral-front-end is a lightweight mock data api service for Calcentral developers. You can view a demo version of the Heroku app here.

To run the app locally:

bundle install

Then start the server:

rails s

Features

After starting the app, the static data are available at the same path as most of Calcentral's apis. The full list of apis is documented here (You would need a Berkeley email to access the spread sheet). You can also try a few sample endpoints with the following links:

Usage

Using Provided Endpoints: To use the provided endpoints, list [/'api'] as one of Calcentral front-end's proxy options and set the proxy to http://localhost:3000 (local) or https://calcentral-frontend-cs169.herokuapp.com (remote). Some specific implementations may allow the hostname to be configured as an environment variable when launching the front end. For example: API_HOSTNAME="https://calcentral-frontend-cs169.herokuapp.com npm run start"

Adding/Changing Endpoints: We provide a minimal CRUD interface for adding/changing api paths mappings to static data at /dev/apis, where the static data can be found at /public/dummy/json/. You can also change the mappings manually at db/seeds.rb.

calcentral-front-end's People

Contributors

adamtau avatar amychan1130 avatar an-ju avatar chingfuchu avatar eric-le-ge avatar gheinemeyer18 avatar xiaochenh avatar

Watchers

 avatar  avatar  avatar

Forkers

xiaochenh

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.