https://github.com/yaodingyd/universal-react-redux-template
A template project with universal react and redux
https://github.com/yaodingyd/universal-react-redux-template
react
Last synced: 3 months ago
JSON representation
A template project with universal react and redux
- Host: GitHub
- URL: https://github.com/yaodingyd/universal-react-redux-template
- Owner: yaodingyd
- License: mit
- Created: 2017-03-01T18:31:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T20:07:13.000Z (about 8 years ago)
- Last Synced: 2025-10-05T18:54:49.790Z (9 months ago)
- Topics: react
- Language: JavaScript
- Homepage:
- Size: 5.64 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Universal React & Redux Template with server-side authentication
### Webpack config and build options
1. Webpack 2
2. JavaScript lint: Standard
3. CSS module
4. Postcss: auto-prefixer, SASS-like
### Features
1. Backend: Express app
2. Authentication using `passport`. Use `local` strategies.
3. JWT instead of session
4. Frontend: React + Redux
5. Routing: react-router v3
5. Server-side Rendering
### Notes
1. .vscode folder is included. Run node server in VSCode for server debugging
2. Setup webpack-dev-server for serving static files
### TODOs
1. `facebook` strategies
### Run App
1. `npm run dev:client` : client app runs on http://localhost:8080
2. `npm start`: server listens on port:3000. Whole app runs on http://localhost:3000.