User Portal follows a main | uat | staging branching structure. You will want to work off of the "staging" branch. When you submit a Pull Request, it will be from your local to the branch "we45/appsecengineer-user-ui/staging."
npm installOn Vue 3 projects, we use only
yarn
We don't use any kind of .env files in this project. All the environment variables are set in /src/config.js file.
npm run devWe use Prettier to prettify the code. Please make sure you have the Prettier extension installed in your IDE and set as default formatter. On your files you can simply do:
⇧ Shift+⎇ Alt+F(Windows);⇧ Shift+⌥ Option+F(Mac);
If you are a newcomer, your first month is required to create your branches and pull requests for your tasks.
After your first month you will be able to commit directly to the staging branch.
Currently there is no need to build and deploy the application. After your commit and push, the build will be done automatically through Cloudflare. The deployment will be done automatically as well.