Skip to content

jtonneyck/ih-beers-api

Repository files navigation

Beers API to Practice with React (or other SPA's)

This is the source code for this API: https://ih-beers-api.herokuapp.com . The documentation is also hosted on this domain.

You need to create a .env file in the root directory with the following variables:

DB=mongodb://yourmongodbconnectionstring
cloudName=yourcloudinarycloudName
cloudKey=yourcloudinaryKey
cloudSecret=yourcloudinarysecret
SESSION_SECRET=yoursessionsecret
ENVIRONMENT=dev/staging/prod

Note that you can only use the three listed values for ENVIRONMENT.

You'll find your the cloudName, cloudKey and cloudSecret via the cloudinary console: https://cloudinary.com/console. You need to creat a free account first. You need to make 3 folders: beers-dev, beers-staging and beers-prod.

This API is using data of the punk API ("https://punkapi.com/")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published