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.
 
 
 
cyril.tsui b0d255cfb5 [Prod Schedule] clear error 1 月之前
public initial commit 6 月之前
src [Prod Schedule] clear error 1 月之前
types Modify Session Type 2 月之前
.env.development [feature] update axios 4 月之前
.env.production [feature] update axios 4 月之前
.eslintrc.json [config] update IDE typescript config 3 月之前
.gitignore tsms to fpsms 6 月之前
.npmrc initial commit 6 月之前
.nvmrc initial commit 6 月之前
README.md update po 3 月之前
next.config.js PWA disabled in development 5 月之前
package-lock.json i18n 2 月之前
package.json [M18 Import Testing] Add import m18 po 2 月之前
postcss.config.js initial commit 6 月之前
tailwind.config.js initial commit 6 月之前
tsconfig.json update 1 月之前
zip_project.ps1 tsms to fpsms 6 月之前

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