Coder Social home page Coder Social logo

wisejayden / social-network-arcade Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 119.38 MB

A social network application built with React, Redux, Express, & Socket.io.

Home Page: https://social-media-arcade.herokuapp.com/

JavaScript 86.02% HTML 0.19% CSS 13.23% TSQL 0.56%
express react redux socket

social-network-arcade's Introduction

Social Media Arcade

A Full-Stack Social Network Application built with React, Redux, Express, & Socket.io.





Using this repo in development

The src directory is where all of your client-side Javascript code should live. The file src/start.js is the entry point for your React application. All other files you use will either be imported by start.js or imported by files that are imported start.js (or imported by files that are imported by files that are imported by start.js, etc.).

To run your app in devlopment, you need to start two servers.

  1. bundle-server.js - this server will listen on port 8081 and does nothing but compile the code in src/start.js and its dependencies into a single bundle which it serves from the url /bundle.js. It uses webpack-dev-middleware to do this. This middleware keeps all the compiled files in memory and doesn't ever write a file to disk. Every time you edit one of the files in your bundle, it detects the change and automatically recompiles. Thus, you do not have to restart this process every time you make a change to one of your client-side Javascript files. After a change is saved, the updated /bundle.js will be available automatically.

  2. index.js - this server listens on port 8080 and it is where all your normal express stuff should go. When index.js is running in development, requests for /bundle.js will cause a request to be made to http://localhost:8081/bundle.js and the result served (it uses the http-proxy-middleware to do this). You can restart this server every time you make a server-side change and not have to wait for bundle.js to recompile before you can test the change.

social-network-arcade's People

Contributors

wisejayden avatar

Watchers

James Cloos 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.