FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kelvinsuen 6d092a6470 rename qcFormVer2 -> qcComponent 12 hours ago
public initial commit 6 months ago
src rename qcFormVer2 -> qcComponent 12 hours ago
types eslint suggested spacing 1 month ago
.env.development [feature] update axios 3 months ago
.env.production update 1 month ago
.eslintrc.json [config] update IDE typescript config 3 months ago
.gitignore tsms to fpsms 6 months ago
.npmrc initial commit 6 months ago
.nvmrc initial commit 6 months ago
README.md update po 3 months ago
next.config.js Please check the follow files, i comment the warning part for deployment, 1 month ago
package-lock.json i18n 2 months ago
package.json update 2 weeks ago
postcss.config.js eslint suggested spacing 1 month ago
tailwind.config.js eslint suggested spacing 1 month ago
tsconfig.json eslint suggested spacing 1 month ago
zip_project.ps1 tsms to fpsms 6 months ago

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