An open API service indexing awesome lists of open source software.

https://github.com/codelikeagirl29/image-gallery

📷 Photo gallery that pulls images from my personal Cloudinary API - written in Typescript & styled with Tailwind.
https://github.com/codelikeagirl29/image-gallery

cloudinary css gallery javascript js nextjs photos react svg svg-text-design tailwindcss typescript

Last synced: 2 months ago
JSON representation

📷 Photo gallery that pulls images from my personal Cloudinary API - written in Typescript & styled with Tailwind.

Awesome Lists containing this project

README

          

# Better Together.
A gallery meant to inspire.

## ════ ⋆★⋆ ════

## Touch the Color; See the Sound

When unexpected sadness really hits home & it's difficult to shake it... always remember it's the smallest things that manage to melt my heart.
> Live demo can be found [here](https://image-gallery-eight-lac.vercel.app/)

I even designed the SVG (Logo and Bridge files used on this project)

## Tech Stack

- ![nextjs](https://camo.githubusercontent.com/8552f38715af0ea9f364801b055f7a2448812b49075860983d53a81414349623/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d4e6578742e6a7326636f6c6f723d303030303030266c6f676f3d4e6578742e6a73266c6f676f436f6c6f723d464646464646266c6162656c3d)

- ![typescript](https://camo.githubusercontent.com/773cfd323f61dbc7301a98e28c69fbd0f27f491272f4acf48106936ca1d14c47/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d5479706553637269707426636f6c6f723d333137384336266c6f676f3d54797065536372697074266c6f676f436f6c6f723d464646464646266c6162656c3d)

- ![tailwindcss](https://camo.githubusercontent.com/5d16e7fdd964ebca50ca82d6c8b081045630340427c463f4470050acd4e50ef3/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d5461696c77696e642b43535326636f6c6f723d323232323232266c6f676f3d5461696c77696e642b435353266c6f676f436f6c6f723d303642364434266c6162656c3d)

---

## Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=`

`CLOUDINARY_API_KEY=`

`CLOUDINARY_API_SECRET=`

// optional

`CLOUDINARY_FOLDER=`

## Configuration

Add the following variables to your .env.local or .env file. & if you deploy it, with Vercel for example, you can place these variables in the Envorpnment Variables part of the setup!

NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""

CLOUDINARY_API_KEY=

CLOUDINARY_API_SECRET=

CLOUDINARY_FOLDER=

## Dependencies

* From the command line:

1. @headlessui/react
2. @heroicons/react
3. cloudinary
4. eslint-config-next
5. framer-motion
6. imagemin
7. imagein-jpegtran
8. next
9. react
10. react-dom
11. react-hooks-global-state
12. react-swipeable
13. react-use-keypress

## Usage

### Screenshots

![App Screenshot](https://res.cloudinary.com/codelikeagirl29/image/upload/v1685775408/image-gallery-screenshot.png)

### Features

## Code
![Vercel](http://therealsujitk-vercel-badge.vercel.app/?app=image-gallery-eight-lac.vercel.app)

### Build
```
npm run build
```

### Deploy (how to install build product)

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FCodeLikeAGirl29%2Fimage-gallery&env=NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME,CLOUDINARY_API_KEY,CLOUDINARY_API_SECRET&envDescription=API%20Keys%20are%20Needed%20for%20this%20to%20work.&envLink=https%3A%2F%2Fcloudinary.com%2Fguides%2Ffront-end-development%2Fintegrating-cloudinary-with-next-js&project-name=cloudinary-nextjs&demo-title=Img%20Gallery&demo-description=A%20Nextjs%20blog%20site%20using%20my%20Cloudinary%20Images%20%26%20styled%20with%20Tailwindcss.&demo-url=https%3A%2F%2Fimage-gallery-eight-lac.vercel.app%2F&integration-ids=oac_0Bh9szvT534p5qWBHYR2EwiG)

## License

This example shows how to create an image gallery site using Next.js, [Cloudinary](https://cloudinary.com), and [Tailwind](https://tailwindcss.com).

## Demo

View the demo [here](https://image-gallery-eight-lac.vercel.app/)

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

## How to use

Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example::

```bash
npx create-next-app --example with-cloudinary nextjs-image-gallery
```

```bash
yarn create next-app --example with-cloudinary nextjs-image-gallery
```

```bash
pnpm create next-app --example with-cloudinary nextjs-image-gallery
```

## References

- Cloudinary API: https://cloudinary.com/documentation/transformation_reference