Skip to content

Add demo code #8

Open
Open

Description

@FullStackForger
demo/
    static/
        index.html
        client.js
        style.css
    server.js

server.js

It should:

  • load external routes (react-jwt-auth) with:
app.use('/api', routes)
  • should serve index.html demo along with other static files

We want to keep routes external for the sake of easy mainenance of react-jwt-auth and react-jwt-auth-redux

index.html

Should load babel for browser to allow compiling ES6

client.js

App demo blob written in ES6

Activity

  1. added this to the 1.0 milestone on Oct 24, 2016
  2. smilingkylan commented on Nov 21, 2016

    @smilingkylan

    +1, I was using something like this for Angular + Laravel, and now switched from Angular to React. Any example code would go a long way to help some of us beginners how to get the basics working. I wish I could contribute to the project but I'm not quite experienced enough with some of this stuff.

  3. FullStackForger commented on Nov 16, 2017

    @FullStackForger
    OwnerAuthor

    Wow! It has been over a year since I looked at this package. Sorry for no response for so long but haven't been around react for a while.

  4. FullStackForger commented on Nov 16, 2017

    @FullStackForger
    OwnerAuthor

    Related: #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions