https://github.com/dielduarte/tienda-test
https://github.com/dielduarte/tienda-test
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dielduarte/tienda-test
- Owner: dielduarte
- Created: 2018-10-03T22:36:21.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-12-09T00:57:16.000Z (about 4 years ago)
- Last Synced: 2025-01-07T15:42:03.631Z (about 1 year ago)
- Language: JavaScript
- Size: 285 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tienda-test
## How to use
after cloning the project, you should install all dependencies with `yarn install` or `npm install`
then to run the project:
```js
npm run dev || yarn run dev
```
obs: also you can see the live project [here](https://tiendanube-test-yrehtshrtx.now.sh/)
## Docz
I'm using `docz` to create a documentation of each dumb component used to create the project. So, to run docz:
```
npm run docz:dev || yarn docz:dev
```
obs: I've uploaded the documentation live [here](https://dist-gbxcpvcigb.now.sh/)
## tests
I'm using `jest` to unit and snapshopt tests, to run the tests:
```
npm run test || yarn test
```
### my choices
To develop this tests I chose:
- `next`: as a framework to handle routing and server side rendering
- `jest`: unit tests
- `styled-components`: to write visual components, merging the best of css in js and css.
- `recompose`: recompose gave me the power of HOC to keep my code more functional and less class based.
- `store`: I'm using just a merging between recompose + new react context api
any questions, feedbacks and suggestions just let me know!