https://github.com/alpgokcek/react-search-page
Non-responsive search page implementation for Hepsiburada Case Study. Application is deployed to Heroku and could be found on hepsiburada-search.herokuapp.com.
https://github.com/alpgokcek/react-search-page
docker enzyme-testing reactjs redux
Last synced: 2 months ago
JSON representation
Non-responsive search page implementation for Hepsiburada Case Study. Application is deployed to Heroku and could be found on hepsiburada-search.herokuapp.com.
- Host: GitHub
- URL: https://github.com/alpgokcek/react-search-page
- Owner: alpgokcek
- License: mit
- Created: 2021-05-12T20:12:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-18T10:04:39.000Z (over 4 years ago)
- Last Synced: 2025-03-27T22:18:54.206Z (9 months ago)
- Topics: docker, enzyme-testing, reactjs, redux
- Language: JavaScript
- Homepage: https://hepsiburada-search.herokuapp.com
- Size: 1.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README





# react-search-page
Non-responsive search page implementation for Hepsiburada Case Study. Application is deployed to Heroku and could be found on [hepsiburada-search.herokuapp.com](https://hepsiburada-search.herokuapp.com).
## Table of Contents:
- [Getting Started](#getting-started)
- [Requirements](#requirements)
- [With React Scripts](#with-react-scripts)
- [With Docker](#with-docker)
- [Building the Project](#building-the-project)
- [Running the Tests](#running-the-test)
- [Contact Information](#contact-information)
- [License](#license)
## Getting Started
### Requirements:
- Node v12 or higher (with npm) -> [Node.js Downloads Page](https://nodejs.org/en/download)
- Yarn Package Manager -> Install yarn with npm: `npm install -g yarn`
- Docker v3.3.2 or higher (optional) -> [Docker Get Started Page](https://www.docker.com/get-started)
Before starting the application, fork/download/clone this repo. There are two different ways to run the application:
### With React Scripts
- Install the required dependencies:
```
yarn install
```
- To run the application in dev mode on [localhost:3000](http://localhost:3000):
```
yarn start
```
- To run the application with the production build on [localhost:8081](http://localhost:8081):
```
yarn build # producing a production build
yarn run server # running the server
```
### With Docker
- Build the docker image with the following code:
```
./docker-build.sh # for mac users
./docker-build.bat # for windows users
```
- To run the application on [localhost:8081](http://localhost:8081):
```
docker-compose up -d --build
```
- To stop the application:
```
docker-compose stop
```
## Building the Project
- To create an optimized production build:
```
npm run build
```
or
```
yarn build
```
## Running the Tests
- To run the unit and snapshots tests:
```
npm test
```
or
```
yarn test
```
## Contact Information
#### Author: Alp Gökçek
#### Github: alpgokcek
#### Email: alp.gokcek1@gmail.com
#### Date: May, 2021
## License
[MIT](https://choosealicense.com/licenses/mit/)