Update requirement files with new feature templates and fix backend API error message, along with mobile project config updates and documentation improvements

This commit is contained in:
louiscklaw
2025-06-13 12:11:47 +08:00
parent f23a6b7d9c
commit 346992d4ec
3102 changed files with 220182 additions and 2896 deletions

View File

@@ -17,7 +17,7 @@ export async function GET(req: NextRequest, res: NextResponse) {
return response(result, STATUS.OK);
} catch (error) {
return handleError('Post - Get latest', error);
return handleError('Helloworld - Get all', error);
}
}

Submodule 03_source/ionic-react-conference-app added at 616068e5eb

Submodule 03_source/mobile.compile_ok added at 69f0997a27

Submodule 03_source/mobile.react_17 added at e5d9508eae

Submodule 03_source/mobile.react_18 added at 995871d7c0

Submodule 03_source/mobile.react_18.test_jsx added at 1e663d3024

Submodule 03_source/mobile.react_18.thread1 added at 6307eb427e

Submodule 03_source/mobile.react_18.thread2 added at 6307eb427e

Submodule 03_source/mobile.react_18.thread3 added at 6307eb427e

Submodule 03_source/mobile.react_18_baseline added at 48b471d880

Submodule 03_source/mobile.react_18_test_pullstate added at 02b09209d5

Submodule 03_source/mobile.react_19 added at 616068e5eb

Submodule 03_source/mobile.test.pullstate added at 69f0997a27

View File

@@ -0,0 +1,15 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

View File

@@ -0,0 +1,5 @@
{
"projects": {
"default": "ionic-react-conference-app"
}
}

89
03_source/mobile.trunk.1/.gitignore vendored Normal file
View File

@@ -0,0 +1,89 @@
**/*Zone.Identifier
**/*bak
**/*del
**/*log
**/*tmp
# Logs
.firebase
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# production
/dist
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.stencil/

View File

@@ -0,0 +1 @@
/* /index.html 200

View File

@@ -0,0 +1,3 @@
{
"siteId": "86675615-6271-4145-8ffe-9c78dc4d34a3"
}

View File

@@ -0,0 +1,30 @@
{
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100,
"overrides": [
{
"files": "src/App.tsx",
"options": {
"printWidth": 160
}
},
{
"files": "src/routes/*",
"options": {
"printWidth": 160
}
},
{
"files": [
"*.html",
"legacy/**/*.js"
],
"options": {
"tabWidth": 4
}
}
]
}

View File

@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}

View File

@@ -0,0 +1,23 @@
Copyright 2015-present Drifty Co.
http://drifty.com/
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,71 @@
# Ionic React Conference App
[![Built with Ionic](https://img.shields.io/badge/-Built%20with%20Ionic-3880FF?style=flat&logo=ionic&logoColor=white)](https://ionicframework.com)
[![React](https://img.shields.io/badge/-React-61DAFB?style=flat&logo=react&logoColor=black)](https://reactjs.org)
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
This is a **kitchen-sink demo application** built with **Ionic Framework** and **React**. It showcases a wide range of Ionic components and features in the context of a fictional tech conference app.
**Note**: There is no actual Ionic Conference. This project is purely for demonstration purposes.
👉 [Try the Live Demo](https://ionic-react-conference-app-git-main-ionic1.vercel.app/tutorial)
## 🧱 Framework Variants
This app is also available in other frameworks:
- 🔗 [Ionic Angular Conference App](https://github.com/ionic-team/ionic-conference-app)
- 🔗 [Ionic Vue Conference App](https://github.com/ionic-team/ionic-vue-conference-app)
-**You're viewing the React version**
## ✨ Features
- Browse conference schedule with filtering
- View speaker bios and session details
- User authentication and profile management
- Interactive maps for venue navigation
- Push notifications support
- Dark/Light mode toggling
- Cross-platform support: iOS, Android, and Web
## ⚙️ Getting Started
### Prerequisites
- Node.js (LTS version recommended) → [Download](https://nodejs.org/)
- npm (included with Node.js)
- Ionic CLI → Install globally:
```bash
npm install -g ionic
```
### Installation
1. Clone the repository:
```bash
git clone https://github.com/ionic-team/ionic-react-conference-app.git
```
2. Navigate into the project:
```bash
cd ionic-react-conference-app
```
3. Install dependencies:
```bash
npm install
```
4. Start the dev server:
```bash
ionic serve
```
5. Open your browser to:
```
http://localhost:3000
```
## 🤝 Contributing
We welcome contributions! Please see our [Contributing Guide](.github/CONTRIBUTING.md) for details on how to submit pull requests, report issues, and contribute to the project.
## 📄 License
This project is licensed under the MIT [License](./LICENSE).

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -ex
# npm i -D
rm -rf **/*Zone.Identifier
# npm run format
# npm run build
# git add .
# git commit -m"build ok,"
echo "done"

View File

@@ -0,0 +1,8 @@
{
"appId": "io.ionic.starter",
"appName": "ionic-react-conference-app",
"bundledWebRuntime": false,
"npmClient": "npm",
"webDir": "dist",
"cordova": {}
}

10
03_source/mobile.trunk.1/dev.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
while true; do
yarn -D
yarn run dev
echo "restarting..."
sleep 1
done

View File

@@ -0,0 +1,31 @@
{
"hosting": {
"public": "build",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/static/**",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png|svg)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
}
]
}
}

View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Ionic Conference App</title>
<meta name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<link rel="manifest" href="/manifest.json" />
<link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png" />
<!-- add to homescreen for ios -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Ionic Conference App" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

View File

@@ -0,0 +1,7 @@
{
"name": "ionic-react-conference-app",
"integrations": {
"capacitor": {}
},
"type": "react"
}

Some files were not shown because too many files have changed in this diff Show More