FPSMS-frontend
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
cyril.tsui 196a015246 update inventory il y a 1 mois
public initial commit il y a 6 mois
src update inventory il y a 1 mois
types eslint suggested spacing il y a 1 mois
.env.development [feature] update axios il y a 4 mois
.env.production update il y a 1 mois
.eslintrc.json [config] update IDE typescript config il y a 3 mois
.gitignore tsms to fpsms il y a 6 mois
.npmrc initial commit il y a 6 mois
.nvmrc initial commit il y a 6 mois
README.md update po il y a 3 mois
next.config.js Please check the follow files, i comment the warning part for deployment, il y a 1 mois
package-lock.json i18n il y a 2 mois
package.json update il y a 1 mois
postcss.config.js eslint suggested spacing il y a 1 mois
tailwind.config.js eslint suggested spacing il y a 1 mois
tsconfig.json eslint suggested spacing il y a 1 mois
zip_project.ps1 tsms to fpsms il y a 6 mois

README.md

This is a Next.js project bootstrapped with create-next-app.

Setting Up the Environment

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, Windows).

Version

nvm: 1.1.12

After installing nvm, run:

nvm use
npm install

This will automatically use the node version defined in .nvmrc and then proceed with installing the necessary dependencies for development.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

References

This project uses the following libraries:

Qrcode Testing

https://stackoverflow.com/questions/16835421/how-to-allow-chrome-to-access-my-camera-on-localhost Local Qrcode testing require setting tweak Steps:

  1. Navigate to chrome://flags/#unsafely-treat-insecure-origin-as-secure in Chrome.
  2. Find and enable the Insecure origins treated as secure section (see below).
  3. Add any addresses you want to ignore the secure origin policy for. Remember to include the port number too (if required).