Giter VIP home page Giter VIP logo

browse's Introduction

Browse restaurants

Build Status

A micro frontend for browsing restaurants.

Getting started

  1. Clone the repo
  2. yarn install
  3. yarn start

You'll also need to run the content server.

This will run the app on its own, outside of the container. This is useful while you're tweaking logic and styling, but you'll usually then need to integrate and test it with the rest of the application. So you should also run:

Run the tests

  • yarn test

browse's People

Contributors

camjackson avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

browse's Issues

"React is not defined" reported at running

Hi, Cam Jackson
when i run your demo code, an error reported on my Chrome browser:

ReferenceError: React is not defined
react
/Users/hedongjie/Desktop/developer/micro-frontends/container-master/external "React":1
> 1 | module.exports = React;
View compiled
__webpack_require__
/Users/hedongjie/Desktop/developer/micro-frontends/container-master/webpack/bootstrap:723
  720 | };
  721 | 
  722 | // Execute the module function
> 723 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
      | ^  724 | 
  725 | // Flag the module as loaded
  726 | module.l = true;
View compiled
fn
http://localhost:3000/static/js/bundle.js:101:20
   98 | /******/ 				);
   99 | /******/ 				hotCurrentParents = [];
  100 | /******/ 			}
> 101 | /******/ 			return __webpack_require__(request);
      |                    ^  102 | /******/ 		};
  103 | /******/ 		var ObjectFactory = function ObjectFactory(name) {
  104 | /******/ 			return {
View source
Module../src/index.js
http://localhost:3000/static/js/bundle.js:23632:63

i'm a green hand of frontends, any suggests for this issue?
OS: macOS catalina(Darwin)
Node version: 12.14.0
npm version: 6.13.4
thanks.

Not able to run application

Hi guys- I've tried to run each individual application but I was not successful. I've tried node version: 10, 12 and 14 and they all have the same issue below. Also, how does the application know to run in the "container" element? How does the public folder gets wired with the rest of the application?

Screen Shot 2021-03-18 at 10 10 37 AM

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.