https://github.com/alfredosalzillo/test-where-are-you-going
https://github.com/alfredosalzillo/test-where-are-you-going
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alfredosalzillo/test-where-are-you-going
- Owner: alfredosalzillo
- Created: 2019-02-27T20:55:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T20:56:03.000Z (over 6 years ago)
- Last Synced: 2025-05-30T03:42:00.738Z (5 months ago)
- Language: JavaScript
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# test-where-are-you-going
This repository contains the solution to a test.
The required PickupLocation component is developed using React with hooks.## Installation
You need to have [nodejs](https://nodejs.org/it/) and npm installed.
Clone the repository
```bash
git clone https://github.com/alfredosalzillo/test-are-you-going
```
or download and unzip it.install dependencies with npm
```bash
cd test-where-are-you-going
npm install
```## Run
To start the application and test the component run
```bash
npm run start
```
and go to [http://localhost:3000/](http://localhost:3000/).Or try the component inside [storybook](https://github.com/storybooks/storybook)
```bash
npm run storybook
```
and go to [http://localhost:9009](http://localhost:9009/?selectedKind=PickupLocation&selectedStory=simple&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel).## Tests
To run tests
```bash
npm run test
```
## Style guide
The [airbnb javascript](https://github.com/airbnb/javascript) style guide is used in this project.