Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo code #8

Open
FullStackForger opened this issue Oct 24, 2016 · 3 comments
Open

Add demo code #8

FullStackForger opened this issue Oct 24, 2016 · 3 comments
Milestone

Comments

@FullStackForger
Copy link
Owner

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

@FullStackForger FullStackForger added this to the 1.0 milestone Oct 24, 2016
@kylanhurt
Copy link

+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.

@FullStackForger
Copy link
Owner Author

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.

@FullStackForger
Copy link
Owner Author

Related: #15

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

No branches or pull requests

2 participants