Git Product home page Git Product logo

learn2flux's Introduction

working through learncode.academy "react JS tutorial" on youtube

checkout the different branches, the names roughly match the videos.

Starting with my finally cobbled together server with backend to mongo (master branch). This starting point has nothing to do with the tutorials, sorry about that! Just use the other branches. There is NO server side rendering here ... I don't think so anyway haha! To start:

  1. get mongo running
  2. run the server (nodemon to update on change) unixy: npm start dos : npm run dos-start
  3. run webpack to watch for front end changes webpack --watch

On the way here ... trying to run backend api with webpack finding process: lsof -i tcp:$PORT

run webpack for frontend npm start

run server as normal npm run start-api

init comments in mongodb: mongo scripts/init-mongo.js

react getting started: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Setting-Up-A-React-ES6-Webpack-Project

running webpack for react from cloud9:

webpack-dev-server --port $PORT --host $IP  --content-base dist/

note $port and $ip seem to be already defined in workspace.

react sass template.

point browser at: https://react-sass-template-knik.c9users.io/

 ,-----.,--.                  ,--. ,---.   ,--.,------.  ,------.
'  .--./|  | ,---. ,--.,--. ,-|  || o   \  |  ||  .-.  \ |  .---'
|  |    |  || .-. ||  ||  |' .-. |`..'  |  |  ||  |  \  :|  `--,
'  '--'\|  |' '-' ''  ''  '\ `-' | .'  /   |  ||  '--'  /|  `---.
 `-----'`--' `---'  `----'  `---'  `--'    `--'`-------' `------'
-----------------------------------------------------------------

Welcome to your Node.js project on Cloud9 IDE!

Based on the cloud9 ide nodejs chat server starting template.

learn2flux's People

Contributors

nikrb avatar

Watchers

James Cloos avatar  avatar

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.