-
cd frontend -
Run
npm installon the first time and when new packages are added -
Run
npm run devto start development servernpm run buildto build app for productionnpm startto run the build app in production mode
cd backend- Run
npm installon the first time and when new packages are added - Run
npm startto start the server
ESLint and Prettier is set up to lint and formmat the code when ever you try to commit. You can also run the commands mannually in the frontend and backend.
npm run lint-checkreports any lint errors or code style discrepanciesnpm run lint-fixfixes automatically fixable lint errors and reformats the codenpm run formatreformats the code but doe snot do any linting