Code Monkey home page Code Monkey logo

duckboot's Introduction

Duckboot

Duckboot is an example client/gui for library recommenders. A user can build a profile by searching library posts and liking/disliking them. Based on these likes/dislikes recommendations can be given. It is possible to configure

Requirements/features

Search

  • Search library posts
  • Like/dislike posts
  • Add frontpage image if valid token to openplatform is available in profile.

Profile

  • Create profile
  • View profile
  • Change profile

Recommendations

  • Configure recommender buttons and views
  • View recommendations
  • View recommendations as json
  • View requests as json

data

All data for profiles is stored in localstorage.

#Development For rapid development create-react-app is used. This is only needed for development. To start ti the application in development mode run npm run dev

#deploy run npm run build. Frontend Application is added to the build folder.

Start application

start the application with node src/server/index.js

Proxy services

Setup proxy services in /services.json

  • name: 'Display name on the button'
  • proxy: 'The internal proxy url'
  • url: 'the url of the service'
  • method: 'http method for calling the service. Defaults to post'

Recommender buttons

Setup recommender buttons in deploy/settings.json

Environment Variables

  • PORT: 8080
  • OP_CLIENT: Open platform client ID
  • OP_SECRET: Open platform client Secret
  • AUTH_URI: E.g. https://auth.dbc.dk
  • OP_URI: E.g. https://openplatform.dbc.dk/v1

duckboot's People

Contributors

vibjerg avatar kfudbc avatar hrmoller avatar

Watchers

Jesper Damkjaer avatar  avatar RasmusErik Voel Jensen avatar  avatar Jørgen G. Nielsen avatar Hans Erik Soerensen avatar Jens Peter Secher avatar Hans-Henrik Lund avatar James Cloos avatar pjohans avatar  avatar Steen Lillethorup Frederiksen avatar Christian Vandel avatar Finn Stausgaard avatar Anders Andersen avatar Yousef avatar  avatar isworker avatar  avatar

duckboot's Issues

Create/delete a new profile.

  • Save a new profile. The profile contains:
    name,
    token (optional)
    likes (optional)
    dislikes (optional)
  • Remove profile

Styling

Make this thing look pretty

Json viewer

Enable json view of all responses and requests

Search materials.

implement xp search client. Show list of materials with author, title.

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.