faghani / reactjs-unsplash

unsplash clone project just for education

Home Page:https://faranesh.com/web/16454-clone-unsplashcom-with-reactjs--redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unsplash clone project just for education

this project made for Reactjs + Redux tutorial that recorded for Faranesh.com

pre requirements

  1. create new application on unsplash.com

NOTE: the Redirect URI is http://localhost:3030/auth/callback in development mode NOTE: our application should have these permission

public
read_photos
write_likes
read_collections
write_collections
  1. create .env_development or .env_production file to set environment variable like .env_sample
NODE_ENV=development
ROOT_URL=https://unsplash.com
API_ROOT=https://api.unsplash.com/
CLIENT_ID=XXXXXXXXXXXXX
CLIENT_SECRET=XXXXXXXXXXXXX
OAUTH_PATH=https://unsplash.com/oauth/authorize?client_id=XXXXXXXXXXXXX&redirect_uri=http%3A%2F%2Flocalhost%3A3030%2Fauth%2Fcallback&response_type=code&scope=public+read_photos+write_likes+read_collections+write_collections
REDIRECT_URI=http://localhost:3030/auth/callback

start app in development mode

yarn run start

test app

yarn run test

run test in watch mode

yarn run test-w

build project in production mode

yarn run build

build and run server

yarn run build-and-run-server

run server only

yarn run run-server

About

unsplash clone project just for education

https://faranesh.com/web/16454-clone-unsplashcom-with-reactjs--redux


Languages

Language:JavaScript 99.1%Language:HTML 0.9%