- React
- ReactContext (for state management)
- Webpack 5
- Babel
- scss (for styling)
- axios (for API calls)
- classnames (for conditional classnames)
-
Clone the repo
git clone https://github.com/fatmacann/wager.git
-
Install NPM packages
npm install
-
Start the app
npm dev
-
Open http://localhost:8080 to view it in the browser.
- The app will load with a list of all the bets.
- Click on a bet add to your betslip.
-
Run the following command to create a production build
npm run build
-
The build will be located in the dist folder