Coder Social home page Coder Social logo

tranhieudev23 / googlecodeu-team-53-2019 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hxcyon/googlecodeu-team-53-2019

2.0 4.0 2.0 7.04 MB

Google CodeU APAC summer 2019 - team 53

License: Apache License 2.0

Java 44.86% HTML 1.48% CSS 3.74% JavaScript 49.92%

googlecodeu-team-53-2019's Introduction

Codeu React Project - Team 53

Forked from this repository

Running the Client-Server Locally

You will need two terminal to run this project.

Run these commands in the first terminal:

cd server

# Starts a local appengine server on localhost:8080
mvn appengine:devserver

Run these commands in a second terminal:

cd client

# Installs any missing modules.
npm install

# Starts the React server on localhost:3000
npm start

Making Changes

  1. Any changes to javascript files under client/src will be hot reloaded. This means changing UI elements through javascript will automatically appear on your local web page.

  2. Any changes to java files must be recompiled by Maven. This means you must re-run mvn appengine:devserver from the server folder. You DO NOT need to rerun the client if a Java file is changed.

  3. Client and server can be run and stopped independently so you usually don't need to kill both processes during development. You will need 2 terminals open for typical development.

Typical Development Cycle

  1. Start the Appengine devserver.
  2. Start the React client and open http://localhost:3000
  3. Make changes to javascript files and check the React client.
  4. Make changes to java files and re-compile the Appengine devserver.
  5. Test changes on http://localhost:3000 to see if the server changes worked. Your changes won't show up on localhost:8080 because the server is running ui-less.

Useful Tools

googlecodeu-team-53-2019's People

Contributors

tranhieudev23 avatar longhoang08 avatar hxcyon avatar sylee0506 avatar nanselmo avatar kevinworkman avatar johnnyb95 avatar crepricg avatar

Stargazers

 avatar  avatar

Watchers

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