FPSMS-frontend
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

6 mesi fa
6 mesi fa
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
  2. ## Setting Up the Environment
  3. It is recommended to use the same node and npm versions for development. An easy way to do so would be to use `nvm` ([Linux/MacOS](https://github.com/nvm-sh/nvm), [Windows](https://github.com/coreybutler/nvm-windows)).
  4. ## Version
  5. nvm: 1.1.12
  6. After installing `nvm`, run:
  7. ```bash
  8. nvm use
  9. npm install
  10. ```
  11. This will automatically use the node version defined in `.nvmrc` and then proceed with installing the necessary dependencies for development.
  12. ## Getting Started
  13. First, run the development server:
  14. ```bash
  15. npm run dev
  16. ```
  17. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
  18. ## References
  19. This project uses the following libraries:
  20. - [NextJS](https://nextjs.org/docs)
  21. - [Next-Auth](https://next-auth.js.org/getting-started/example)
  22. - [Material UI](https://mui.com/material-ui/getting-started/)
  23. - [i18next](https://www.i18next.com/overview/getting-started)
  24. ## Qrcode Testing
  25. https://stackoverflow.com/questions/16835421/how-to-allow-chrome-to-access-my-camera-on-localhost
  26. Local Qrcode testing require setting tweak
  27. Steps:
  28. 1. Navigate to chrome://flags/#unsafely-treat-insecure-origin-as-secure in Chrome.
  29. 2. Find and enable the Insecure origins treated as secure section (see below).
  30. 3. Add any addresses you want to ignore the secure origin policy for. Remember to include the port number too (if required).