Coder Social home page Coder Social logo

antonybudianto / create-react-app-express Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 7.0 315 KB

⚙️ Express server for your Create React App (Backbone of cra-universal)

Home Page: https://cra-universal.now.sh/

License: MIT License

JavaScript 92.26% HTML 6.06% CSS 1.68%
create-react-app express react

create-react-app-express's Introduction

Welcome!

Hi, I'm Antony from Indonesia. I've 8+ years experience on web development from various industry (B2B, HRIS, E-Commerce, Fintech, CRM, Omni-channel).

I spent most of my time on Web development and also learned many other stacks along the journey to understand the whole picture better.

I also sometimes do open-source, and was Google Cloud Certified.

and lastly, Creator of Deesain and StickyNoted.

Some of notable professional achievements:

  • Improved web service reliability and resilience by integrating custom PM2 with Systemd
  • Initiated and supervise in-house SSR React Web Framework and support the migration
  • Initiated autoscaling worker with custom consul DNS to save cost
  • Initiated JavaScript Error Stack parser CLI to help FE team to pinpoint the error location without sourcemap
  • Resolved long standing and high priority issue regarding FCM Notification token issue

Tech stacks:

  • Frontend (React, Vue, Next.js, Nuxt)
  • Backend (Java, Go, Rust)
  • Infrastructure (Docker, Nginx)

Other online profile:


create-react-app-express's People

Contributors

antonybudianto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

create-react-app-express's Issues

CRA Express 2.0.0

New features:

  • Loaders: functions that take express app instance and add the needed middleware / setup according to its usage.
    • Included basic loaders:
      • @cra-express/static-loader (for handling static assets)
      • @cra-express/universal-loader (for universal rendering)
        • this loader should be called last
    • If you use createReactAppExpress API, it used both loaders by default
    • Usecases / background:
      • useful when you want to build your own routes on top of create-react-app-express middleware. currently all routes are consumed by universal loader so it's not possible to create your own routes (e.g.: API routes, etc)
      • able to use universal rendering for existing/managed express app.
    • the naming can be confused with webpack loaders, any suggestions are welcome
  • Babel bundling (for non-es6 compatibility)

Plan:

To make it more middleware oriented, than all-in-one magic API. Loaders are still considered magic though, but at least they only do one thing, unlike previous API.

  • Forkable/custom loaders
    • Each loader will have their own package
    • The loaders source code will be still in this repo (mono-repo), will use Lerna
    • Developer will have more flexibility to fork and customize their own loader
    • Since loaders are just functions, you can write your own, publish, and replace the built-ins easily

Breaking changes:

  • new package name: create-react-app-express -> @cra-express/{core, static-loader, universal-loader}
  • createReactAppExpress() in on core, and it keeps the compatibility
  • in short, you just need to update your package name and it should be okay

Pre-release

You can try by installing:

npm i @cra-express/[email protected]

⚠️ NOT FOR PRODUCTION USAGE

Final release is expected to be end if December

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.