- TanStack Router
- React Query & Axios
- PandaCSS & Park-UI
You must have the following installed on your machine:
- Node.JS
- PNPM
- Git
-
Clone this repository and enter the project directory
git clone https://github.com/TeChn4K/unsplash-gallery.git cd unsplash-gallery
-
Install dependencies
pnpm install
-
In order to use the Unsplash API, you need to create an account and get an access key.
-
Create a
.env
file in the root directory of the project and add your access key:VITE_UNSPLASH_ACCESS_KEY=<your-access-key>
-
Build the app
pnpm run build
-
Start the app
pnpm run serve
-
Open your browser and navigate to
http://localhost:4173/
-
Start the app in development mode
pnpm run dev
-
Open your browser and navigate to
http://localhost:3001/