An application to display the latest donations for a charity using React and Redux.
Choose your iPhone uses a number of open source projects to work properly:
- React - A JavaScript library for building user interfaces
- Redux - Predictable state container for JavaScript apps
- MUI - A lightweight CSS framework
- Webpack - Bundle assets scripts
- Eslint - Pluggable JavaScript linter
- Babel - The compiler for writing next generation JavaScript
This project requires Node.js v6+ to run.
Install the dependencies and devDependencies.
$ Clone the repository github
$ cd in latest-donations-for-charity folder
$ npm install
Start the local server on with livereload by webpack: port:8080
$ npm run dev
$ jest or npm test
$ jest --watch or npm test --watch
$ jest --coverage
Builds JavaScript, images, and, CSS or SCSS files for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
$ npm run build
I like Cloud9 and if you are using for your projects. You will get an error message like: Invalid Host header
The installations of webpack-dev-server on cloud9 generate this message as he uses HTTPS.
Getting webpack-dev-server to run on cloud9 and resolve this issue.
- Go to webpack folder
- Open 'dev.js'
- Then, put your URL workspace project from cloud9 here, without trailing slash.
MIT