Example project consuming the Spotify api. Using the most used techologies on the market. Mobile first was thought, since most of the accesses to the web today are via mobile.
- (Node.js 12+)[https://nodejs.org/]
- (spotifood-bff)[https://github.com/morenopereira/spotifood-bff]
One of the values answered by the api does not work, but specifically the US value parameter in the countries array. So to fix it I created a function that sets the parameters manually to make sure it works.
- React
- Redux
- Redux-Thunk
- React Test Library
- Date-fns
- Husky
- SASS
- Storybook
- Eslint
- Prettier
- Docker e Docker Compose
Clone spotifood-bff
cd spotifood-bffcp .env.sample .env(And change the required envs)npm installoryarnnpm startoryarn start
Clone this repository
cd spotifoodcp .env.sample .env(And change the required envs)npm installoryarnnpm startoryarn start
-
cd spotifood-bff -
cp .env.sample .env(And change the required envs) -
docker-compose uo --build -
cd .. && cd spotifood -
cp .env.sample .env(And change the required envs) -
docker-compose uo --build
start- Starts development serverbuild- Builds the application assets for productiontest- Runs all unit testslint- Run lintstorybook- Run storybook