Code Monkey home page Code Monkey logo

dto-digitalmarketplace-frontend's Introduction

Marketplace React Frontend

Read the documentation

Getting started

This project is an ejected CRA project, with some heavy modifications to the build scripts to allow integrated and local development

It is preferred that you use yarn with this project to ensure deterministic builds

Install yarn

$ npm i -g yarn

Clone this repositry and install it's dependencies:

$ yarn install

Local Development

The local environment is the basic webpack dev server (watching included), with some baked in routing config to allow easier integration with React Router v4

To boot up the basic environment run yarn start. Navigate to localhost:3000 and you will be prompted with a list of bundles to preview. Bundle is just a fancy term for an entry point.

Another important feature of the local environment is mocks. You have the ability to define an initial state / mock (meant to replicate the servers datamodel). The only caveat is you can only have one mock per entry point and they are cache per run of the start command - as the are included via require at boot up time.

Integrated Development

The integrated environment is the provides a development build of both assets and the rendering service. This allows us to test local features before they reach an integrated environment.

This style relies on two commands running: yarn build:development and yarn server:development, both these tasks come with watchers so you should never need to restart either. The development build command will log out webpack stats and any linter errors into your console as you are working.

The server will load up on port 60000, this a server side rendering service for React bundles. Read More

Further information about this project can be found in the docs.

dto-digitalmarketplace-frontend's People

Contributors

maxious avatar nathf avatar matt-sm avatar blackfry avatar danwhitmarsh avatar djrobstep avatar

Watchers

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