Skip to content

brownishgreen/pics-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pics-Web

A React-based web application that integrates with the Unsplash API to search and display stunning images.
Pics-Web 是一個使用 React 開發的網頁應用程式,用於瀏覽和搜索 Unsplash 的圖片。
專案透過 Unsplash API 提供隨機圖片的加載和基於關鍵字的圖片搜索功能。


Key Features

  • Fetch random curated photos using the Unsplash API.
  • Search functionality to find images based on user queries.
  • Infinite scroll: Load more images with a single button click.
  • Modern UI built with React and styled using CSS and SCSS.
  • Axios for API requests.

Tech Stack

  • Frontend Framework: React.js
  • Styling: CSS, SCSS
  • API Integration: Unsplash API
  • HTTP Client: Axios
  • State Management: React hooks (useState, useEffect)
  • Routing: React Router
  • Build Tool: Create React App (CRA)
  • Version Control: Git

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: This is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them.


中文簡介

Pics-Web 是一個以 React 開發的網頁應用程式,專案特色包括:

  • 支援 Unsplash API 隨機圖片加載與搜索功能。
  • 現代化 UI 設計,運用 CSS 和 SCSS 進行樣式開發。
  • 支援按鈕載入更多圖片,實現簡單的無限滾動。
  • 使用 Axios 發送 API 請求。

可透過以下指令執行此專案:

  1. npm start
  2. npm test
  3. npm run build

About

A React-based web application that integrates with the Unsplash API to search and display stunning images. Users can explore random photos or search for specific topics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors