This project was made due to the CodersCamp2021
- ESLint
- Prettier - Code formatter
- GitLens — Git supercharged
- Git Graph
- Better Comments
- Auto Close Tag
- Auto Rename Tag
Please enable Editor: Format On Save
option from VSCode Settings
to automatically format your source code.
We are using a great tool called Husky. It runs before every commit automatically linting and formatting your code.
Remember that you need to first run yarn install
to install it.
There is a script that automatically copies .env.example
to .env
if .env
does not already exist.
If you are a Windows user, please refer to the notice below.
If you are a Windows user, please use Git Bash or any other UNIX-like shell (e.g. Git Bash). Some commands MAY NOT work on default Windows Command Line.
In the project directory, you can run:
Installs all required packages. This is the first command that you should run after cloning this repo. Without this you will not be able to run the app.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Checks every source code file using ESLint and rules described in .eslintrc
.
Formats entire project using Prettier according to formatting rules described in .prettierrc
.