Project setup
- Download all the files by cloning the repository
- run yarn or npm install
- create a .env configuration file based on the .env.example
- You are ready to go! 🚀🚀
Tips and tricks
- To disable corse errors in development: add in package.json
"proxy": "api-url"
Start, build and testing
yarn start || npm run start
for lauching the project 🚀yarn build || npm run build
for building the project 🎊yarn test || npm run test
for running all the test files❗
Set up eslint/prettier
Next, you'll setup eslint and prettier so your code will be formatted on autosave based on the settings in the .eslintrc file
-
Make sure eslint is installed correctly
-
Download the prettier plugin and disable it.
-
Add in your vscode setting.
-
"editor.formatOnSave": true, "[javascript]": { "editor.formatOnSave": false }, "eslint.autoFixOnSave": true, "eslint.alwaysShowStatus": true,
5. Done 🚀