Giter VIP home page Giter VIP logo

#Kevin Bielawski's page

TODO

  • React server rendering
    • Load entire page, not just Menu component
    • e.g. load entire markdown generated React components
  • Flux-type architecture to manage state

Present bugs

  • See React server rendering (above)
    • Does not render full page on server

Fixed bugs

  • /api/latest and Latest.jsx

Packages used

  • express for routing and api
  • redis as a data store
  • react and react-router
  • gulp and requisite webpack and sass modules for build process

API (public)

/login

Used to authenticate a user based on username/password

/api/is-auth

Used on the client to determine if the user is authenticated

  • Question: can this be removed after the initial page load is handled on the server?
/api/keys

All of the keys in the db

/api/all

Returns JSON for all objects in the db

/api/items

Returns JSON for all objects of type: item

  • See also: /api/items/:url
/api/published

Only items marked as published

/api/latest

Most recently published item

API (private)

/api/users

Contains user objects with passwords hashed via bcrypt

/api/sessions

Session data via session middleware

Kevin Bielawski's Projects

draft-extend icon draft-extend

Build extensible Draft.js editors with configurable plugins and integrated serialization.

md icon md

little reasonml markdown editor

universal icon universal

React-powered universal i.e. isomorphic app

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.