burakcihan61 / reactjs-dashboard-boilerplate

reactjs-dashboard-boilerplate

Home Page:https://reactjs-dashboard-boilerplate.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Fast Start Template

Please read this section before starting to development.


First of all you have to install these plugins to your editor (vscode), but if you are using another code editor or IDE install them for your dev environment

If you don't use one of these Code Editor/IDE please check if your EDITOR/IDE exists or not please install the Editor Config plugin for your Code Editor/IDE.

Linter / Commit Messages

While developing this project, you should take attention to linter rules, all of your codes and commit messages, because you can't do any development without checking by rules.

Notice: Before commit to changes, HuskyJs checking these commit messages / linter rules

If you get a lint's error when you committing a message, you can check for eslint linter rules or if you get an error because of your commit message you can check below commit message types and examples or you can check from Conventional Commits.

Commit-lint Types and Messages

Examples:

git commit -m "feat: add navbar component"
git commit -m "docs(readme): add server link"
  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs)
  • chore: Updating packages,build project etc. (no production code change)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature, when refactoring a production code, eg. renaming a variable.
  • revert: A commit revert message
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Start Development

Use below script for clone repository and install dependencies.

git clone https://github.com/xxx/xxx.git && cd xxx && yarn install

ENVIRONMENT VARIABLES

Please create the .env file and add below environment key and a variable which shared with you as an API URL

REACT_APP_API_BASE_URL=

after add the above environment key and variable that shared with you, run below script to start development and server.

Available Scripts to run development server

In the project directory, you can run:

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.
You will also see any lint errors in the console.

yarn 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!

About

reactjs-dashboard-boilerplate

https://reactjs-dashboard-boilerplate.netlify.app/

License:MIT License


Languages

Language:TypeScript 86.0%Language:HTML 8.4%Language:JavaScript 3.8%Language:CSS 1.7%