This project shows usage of the Reddit API using ReactJS, Redux Toolkit and Typescript 💻
- Redux Toolkit
- Typescript
- Styled Components
- Styled Icons Pack
- Jest
- React Testing Library
- ESLint
- Prettier
- Github Actions CI/CD
- Source Map Explorer to analyze code bloat
git clone https://github.com/cmacdonnacha/react-reddit-search.git react-reddit-search
cd react-reddit-search
npm install
npm start
- Go to http://localhost:3000/react-reddit-search
- That's it! See the Available Commands list below for more.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Runs unit and integration tests in watch mode. Use npm run test:no-watch
to run tests without a watcher.
Runs unit and integrations tests without a watcher.
Displays the code coverage within the console and also generates a coverage folder.
To view the code coverage report in your browser open the
index.html
file within thecoverage/lcov-report
folder.
Runs end-to-end tests and opens a window to see the results running on your machine.
Runs the ESLint typescript code lint checker. Running npm run lint:fix
will automatically fix any lint errors where possible.
Builds a production version of the app inside the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
This will run a production build and then analyze the output using source-map-explorer which analyzes JavaScript bundles using the source maps. This helps you understand where code bloat is coming from.
🚢 Continuos Integration & Deployment with Github Actions
Licensed under the MIT license.