https://github.com/jaythomas/hacker-news-react-search
Example algolia api search of Hacker News using React/Redux
https://github.com/jaythomas/hacker-news-react-search
jest react react-redux redux thunk-middleware webpack
Last synced: 2 months ago
JSON representation
Example algolia api search of Hacker News using React/Redux
- Host: GitHub
- URL: https://github.com/jaythomas/hacker-news-react-search
- Owner: jaythomas
- License: mit
- Created: 2020-04-19T22:48:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T06:13:27.000Z (about 6 years ago)
- Last Synced: 2025-10-27T02:02:55.081Z (8 months ago)
- Topics: jest, react, react-redux, redux, thunk-middleware, webpack
- Language: JavaScript
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Hacker News React Search


[](https://github.com/jaythomas/hacker-news-react-search/blob/master/LICENSE.md)
- [Setup](#setup)
- [Testing](#testing)
- [Additional commands](#additional-commands)
This is a demo React application built without scaffolding (read: no create-react-app) to create something that simultaneously has minimal boilerplate and is scalable so as to be useful for seeding a larger application.
## Setup
Run yarn to install node dependencies for building the application:
`yarn`
Then run the dev server:
`yarn start`
If you don't have yarn, you can find installation instructions [here](https://classic.yarnpkg.com/lang/en/). (You could also try npm if you have that but the lockfiles are different between the two tools so you may end up with different dependencies installed and things not work correctly.)
## Testing
`yarn test`
This will run the linter and unit tests (jest).
## Production build
You can build a production distributable by running the following command:
`yarn build`
This will generate a directory called `dist/` which can be deployed to an http server of your choice.
## Additional commands
If I missed any commands above, you can get a printout of them by running:
`yarn run`
Or by simply running `cat package.json` and checking out the defined "scripts".