Skip to content

ButinVladimir/deviantart-helper-frontend-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeviantART Helper

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.

Installation

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.

Available Scripts

npm 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.
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.

npm test

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

npm run test:staged

Script for Husky to run related tests for staged changes.

npm run coverage

Runs Jets test runner in the coverage mode.

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.

After bundling build files should be copied to the public folder
in DeviantART Helper backend part.

Development

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.

About

DeviantART Helper frontend part

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages