Simple card game to employ React, Redux, Redux Thunk, Redux Persist and Firebase Authentication
Project features
- It's based on firebase authentication.
- It uses redux and redux thunk to manage state.
- Game and auth states are persisted with redux-persist in localstorage.
- Project is configured to run up on docker aswell
- What project offers is a simple card drawing game from a single deck, whoever gets higher card gets 1 point. In the end of deck whoever collects more points wins whole game.
To configure firebase;
- Proceed on firebase console of your project. If you haven't created a project, create one and then proceed to console. (https://console.firebase.google.com/project/APP_NICKNAME)
- Collect your configration data from "SDK setup and configuration" section of console.
- Put your confirgration data to .env or .env_local file
https://deckofcardsapi.com/ is offering free API service of fetching decks and cards information. Project is based on this API service.
- Clone the app
cd project_folder
docker-compose up
- It will run up @http://localhost:3000