Client application which uses React Hooks, Redux, JSX transform, etc to implement a photo selector application.
Node >= 10.16 and npm >= 5.6 are required on your environment, as specified by create-react-app.
git clone [email protected]:viduni94/photo-selector-be.git <YOUR_PROJECT_NAME>
cd <YOUR_PROJECT_NAME>
npm install
npm start
git clone [email protected]:viduni94/photo-selector-fe.git <YOUR_PROJECT_NAME>
cd <YOUR_PROJECT_NAME>
yarn
yarn start
- View uploaded photos (Retrieved from a JSON file)
- Select 9 photos for a photo grid
- Save photo grid
- View photo grid
- Update photo grid
Note: When you have an already saved photo grid, the application will load the photo grid on the initial load. If not, the application will load the photo selector
-
yarn start
- Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. -
yarn test
- Launches the test runner in the interactive watch mode. See the section about running tests for more information. -
yarn test:no-watch
- Runs tests without watch mode. Is used for the pre-push git hook, and can be used with continuous integration. -
yarn test:coverage
- Runs tests without watch mode and outputs coverage reports to/coverage
. -
yarn build
- Builds the app for production to thebuild
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. -
yarn eject
- Ejects the create-react-app configurations (webpack, Babel, ESLint, etc.) into your project as dependencies inpackage.json
. Should be used if the provided configurations aren't working for you. -
yarn lint
- Runs eslint, stylelint and prettier checks, but does not fix any issues. -
yarn lint:fix
- Runs eslint, stylelint and prettier checks, and fixes possible issues. Some issues might still require manual fixing.
The following scripts are also included if the linters need to be used separately.
eslint, eslint:fix, stylelint, stylelint:fix, prettier, prettier:fix
This project is licensed under the MIT license, Copyright (c) 2021 Viduni Wickramarachchi. For more information check the LICENSE
file.