Look for your favorite beers from the punk API.
Your must have a compatible version of node and preferably* yarn installed in your machine.
* npm must work just as good, but this project was not developed or tested using npm.
To put it to work right away:
- install all project dependencies with
yarn install
- start the development server with
yarn dev
Follow the steps bellow to produce a production ready bundle:
- install all project dependencies with
yarn install
- generate the production ready bundle with
yarn build
- serve the bundle with
yarn start
All configuration needed for deploying it to heroku is already made. So all you need to do to deploy to heroku is:
- clones the git repository to your machine
git clone https://github.com/IgorCRD/beers.git
- changes from current directory to repository directory
cd beers
- creates a heroku app where you app is going to live
heroku create [appName]
- pushes the current version to heroku and starts the deploy pipeline
git push heroku master
PS.: You must have the Heroku CLI installed and logged in your machine