All Projects â†’ Metnew â†’ Suicrux

Metnew / Suicrux

Licence: apache-2.0
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Suicrux

Razzle Material Ui Styled Example
Razzle Material-UI example with Styled Components using Express with compression
Stars: ✭ 117 (-87.79%)
Mutual labels:  webpack, universal, example, boilerplate, template, ssr
Universal Starter
Angular 9 Universal repo with many features
Stars: ✭ 518 (-45.93%)
Mutual labels:  webpack, universal, example, ssr
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-96.66%)
Mutual labels:  webpack, universal, boilerplate, template
React App
Create React App with server-side code support
Stars: ✭ 614 (-35.91%)
Mutual labels:  webpack, boilerplate, template, ssr
Frontend Boilerplate
An ES20XX starter with common frontend tasks using Webpack 4 as module bundler and npm scripts as task runner.
Stars: ✭ 224 (-76.62%)
Mutual labels:  webpack, starter, boilerplate, template
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+6.05%)
Mutual labels:  webpack, starter, boilerplate, pwa
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (-63.15%)
Mutual labels:  webpack, universal, boilerplate, pwa
React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (-82.36%)
Mutual labels:  webpack, boilerplate, template, ssr
Vue Element Starter
Vue starter with Element-UI [READY, unmaintained now]
Stars: ✭ 216 (-77.45%)
Mutual labels:  webpack, starter, boilerplate, template
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (-73.17%)
Mutual labels:  starter, boilerplate, template, pwa
Nestjs Bff
A full-stack TypeScript solution, and starter project. Includes an API, CLI, and example client webapp. Features include production grade logging, authorization, authentication, MongoDB migrations, and end-to-end testing.
Stars: ✭ 450 (-53.03%)
Mutual labels:  fullstack, boilerplate, template
React Starter Kit
React Starter Kit — front-end starter kit using React, Relay, GraphQL, and JAM stack architecture
Stars: ✭ 21,060 (+2098.33%)
Mutual labels:  webpack, boilerplate, ssr
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-59.92%)
Mutual labels:  webpack, boilerplate, pwa
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (-46.87%)
Mutual labels:  starter, boilerplate, template
Pup
The Ultimate Boilerplate for Products.
Stars: ✭ 563 (-41.23%)
Mutual labels:  example, boilerplate, ssr
Ssr Sample
A minimum sample of Server-Side-Rendering, Single-Page-Application and Progressive Web App
Stars: ✭ 285 (-70.25%)
Mutual labels:  webpack, pwa, ssr
Awes Io
Awes.io // boilerplate based on Vue, Nuxt, TailwindCSS plus Laravel as a backend. 🤟
Stars: ✭ 599 (-37.47%)
Mutual labels:  boilerplate, pwa, ssr
Chrome Extension Typescript Starter
Chrome Extension TypeScript Starter
Stars: ✭ 601 (-37.27%)
Mutual labels:  starter, boilerplate, template
Thinkful Workshop React Redux Node Mongodb Webpack2
Stars: ✭ 12 (-98.75%)
Mutual labels:  webpack, boilerplate, pwa
React Native Meteor Boilerplate
Stars: ✭ 637 (-33.51%)
Mutual labels:  example, boilerplate, template

Suicrux 😈

Ultimate universal starter with lazy-loading, SSR and i18n.

Previous release

Greenkeeper badge Codacy Badge

Quick start

  # Install
  git clone --depth=1 --single-branch https://github.com/Metnew/suicrux.git
  cd suicrux
  npm install
  # install flow typings for libraries (optional)
  flow-typed install
  # Development
  npm run dev
  # Build
  npm run build
  # Production
  npm run start

What's inside?

bitHound Dependencies bitHound Dev Dependencies

Client:

Server:

Webpack

Other:

Suicrux FAQ

Static assets?

/static folder + url-loader. Everything in /static/public/ is copied to /dist/client with copy-webpack-plugin.

Is it possible to change Webpack config?

Of course, config is intuitive! Webpack universality is inspired by Razzle.

SSR?

Check /src/server/ssr/.

Code-splitting?

react-async-component.

Server-side data-fetching?

Using react-async-bootstrapper - a wrapper around react-tree-walker.

Theming?

Yes, with styled-components' <ThemeProvider> it's possible to specify a color theme.

Browser support

Without react-intl:

  • Safari 7+
  • IE 10+

Environment variables

  • process.env.HOST (default: 'localhost'): Application host. Browser and Server.
  • process.env.PORT (default: 3000): Application port. Browser and Server.
  • process.env.INSPECT_ENABLED (default: true): add --inspect arg to server in development. Webpack only.
  • process.env.ANALYZE_BUNDLE (default: false): Run webpack-bundle-analyzer on production build. _Webpack _
  • process.env.GA_ID (default: false): Google analytics ID. If set, react-ga initialize itself inside >container oncomponentDidMount()`. Browser only.
  • process.env.SENTRY_PUBLIC_DSN (default: false): Similar to GA_ID, but for Sentry. Browser only.
  • process.env.BROWSER: Your environment. true - browser, false - Node.

NOTE: Remember, you can't run code which uses browser global object in Node environment!

  • process.env.SENTRY_DSN (default: false): Sentry full(private) DSN. Server only.

Semantic.UI + React = SUIR

SUI = Semantic.UI
SUIR = Semantic-UI-React TL;DR: SUIR is great, but it lacks inline-styles.

You're always free to use any other UI framework with suicrux. UI framework comparison.

Good parts

  1. Big UI library
  2. Based on SUI: SUIR uses SUI CSS under the hood.
  3. Modular: Import only what you use required components.

Bad parts

  1. Import of unused styles.

It's possible to import only required components' styles. Check src/client/index.jsx. PurifyCss cannot help. Only browser-based tools probably could.

  1. SUI styles are costly(548kb) and block rendering.

It's possible to split SUI styles into several smaller chunks which could be downloaded faster.

Contributing

Have a question? Ask! 😉

Make sure you ask a right question. 😈

PRs, issues, enhancements are always welcome.

Author

Vladimir Metnew [email protected]

LICENSE

Apache License 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].