This project is the MVP of frontend part of DeviantART Helper.
Project was bootstrapped with Create React App so please refer here for additional documentation.
Tests in this project are not finished due to upcoming refactoring which probably will never happen.
Main repository can be found on BitBucket.
Mirror repository is available on GitHub.
Project uses DeviantART API and requires to have working there.
First, npm install
should be ran first to fetch npm modules.
Then REACT_APP_SERVER_URL
variable value in .env
file should be changed to URL where DeviantART Helper
should run.
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.
You will also see any lint errors in the console.
Make sure that DeviantART Helper
backend part is running on URL provided in .env
file.
Launches the Jest test runner in the interactive watch mode.
See the section about running tests for more information.
Script for Husky to run related tests for staged changes.
Runs Jets test runner in the coverage mode.
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.
After bundling build files should be copied to the public
folder
in DeviantART Helper backend part.
Development server can be started by running npm start
script.
Codestyle is enforced by Eslint.
Unit tests are written with Jest.
Test coverage can be obtained by running npm run coverage
and
then checking console or coverage
folder.
Codestyle and unit tests are checked automatically during commit by Husky.