- React - frontend/view library
- Redux - state management library
- Axios - For HTTP client
$ git clone https://github.com/xxryan1234/space-missions.git && cd github
will download the app and cd to the folder once done.
yarn install
- to install dependencies.yarn start
- Runs the app in development mode.yarn build
- Builds the app for production to the build folder.
-
packages/libraries used.
- ant-design - An enterprise-class UI design language and React-based implementation.
- react - awesome view library
- ImmutableJS - Immutable data structures can be deeply compared in no time. This allows us to efficiently determine if our components need to rerender since we know if the props changed or not!
- react-router - for routing
- react-boilerplate - A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.
- react-redux - state management library. The state of your whole application is stored in an object tree within a single store.
- redux-saga - middleware to handle promises
- reselect - Selectors can compute derived data, allowing Redux to store the minimal possible state.
- styled components - Utilising tagged template literals (a recent addition to JavaScript) and the power of CSS, styled-components allows you to write actual CSS code to style your components.
-
file structure
-
Top Level
app
│
│
├── components <--- stateless components
│ ├── Button
│ │ ├── Button.test.js
│ │ ├── index.js
│ │ └── file.scss
│ └── Img
│ ├── Img.test.js
│ └── index.js
│
├── containers <--- stateful components/route components
│ ├── App
│ │ ├── index.js
│ │ └── logo.png
│ │
│ ├── HomePage
│ │ ├── actions.js
│ │ ├── constants.js
│ │ ├── index.js
│ │ ├── reducer.js
│ │ ├── selectors.js
│ │ ├── file.scss
│ │ └── tests
│ │ ├── actions.test.js
│ │ └── reducer.test.js
│ └──NotFoundPage
│ └── index.js
│
│
├── index.html
├── routes.js
├── manifest.json
├── configureStore.js
└── app.js