GithubHelp home page GithubHelp logo

johnazre / youtube-react-with-express Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 523 KB

Code for the react-with-express youtube video

Home Page: https://youtu.be/3S8C59vQRr8

JavaScript 75.46% HTML 20.09% CSS 4.45%

youtube-react-with-express's Introduction

Two ways to integrate React and Express in NodeJS

Getting started

  git clone https://github.com/johnazre/youtube-react-with-express.git
  cd youtube-react-with-express
  npm install # or yarn
  cd public-cra
  npm install # or yarn
  cd ..
  nodemon

Overview

The directions above should get your node_modules installed for both the server and the create-react-app app. To change which directory is getting served, just comment/uncomment the corresponding lines in ./server.js

youtube-react-with-express's People

Contributors

johnazre avatar

Stargazers

Sergiy avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

thegg53

youtube-react-with-express's Issues

There must be a better way

Hi

It's been a while since you made that video, thanks for the tutorial btw, I just spent some days trying to find a better way to link express+parcel+vue all together with less minimal configurations and one node_modules directory and getting a hot reload for both nodemon at the server and parcel at the client side...
There must've been an easy way to do it, but I'm not sure if parcel support express's middleware:
parcel-bundler/parcel#4612
looks like some people did it:
https://github.com/search?q=express+parcel+vue
well, I'm not sure... maybe I should go for webpack4?

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.