Skip to content

battistar/poison

Repository files navigation

Poison

Poison is a React app of drink receips built on www.thecocktaildb.com APIs.

The app is available on https://battistar.github.io/poison/.

Development

You can setup and run the application in your local environment in different ways:

Docker

Move in dev folder and make executable run.sh:

sudo chmod +x run.sh

Then you can build the Docker image and run the container by:

./run.sh start

Open http://localhost:3000 to view the application in the browser.

To teardown the environment run:

./run.sh stop

npm

First setup nvm, then move in the main folder, where the .nvmrc file are in, and run:

nvm use

Now you can run the application in dev mode:

npm start

Open http://localhost:3000 to show it in the browser.

Deployment

Every push on the master branch, trigger a GitHub action that check the code validity and push a new version of it on GitHub pages.