Skip to content

Repository files navigation

c2w-site-front

Language grade: JavaScript Build Status codecov Conventional Commits

ReactJS frontend for cycle2work.io.

Table of Contents

Folder Structure

Apart from the conventions and deps in place for Create React App, this project also use:

  • redux
  • react-router

And enforce the following structure:

src/
  actions/
  assets/
  components/
  reducers/
    index.js
  views/
    index.js
  config.js
  • actions/ is the folder promoted to contains all the redux actions creators;
  • assets/ is the folder promoted to contains all the static resources shared accross React components;
  • components/ is the folder promoted to contains all the React components that can be shared accross views;
  • reducers/index.js should exports the redux store, with all the needed middlewares applied;
  • views/index.js is the container for all the views available within the app and the Routes that are associated with those;
  • config.js is where all the env vars are readed, eventually defaulted, and exported.

Run the project

Install the dependencies with...

yarn

and then run the project

yarn start

Build the project

To just build the project you can use...

yarn build

Env Vars

REACT_APP_AWS_REPORTS_API

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages