Skip to content

Final changes pwa integration and hosting #20

Merged
merged 1 commit into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions expense_tracker/.firebase/hosting.YnVpbGRcd2Vi.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
favicon.png,1669978261902,0cab6e3dd5a9f008afdd133e1e1207cf65f2f2a10eb6712e3c209d8a5f76425a
index.html,1670601605436,ef4dc2bab6b664bea53656b1acdad21d2ede8ecca888d628d231b9ba357ac059
manifest.json,1670245010056,1e674500f8f4aca1f9a7b5e738296217aaa044b4072139b8101f57e4a40a7c7d
version.json,1670601605165,e38172972d2c99f92cc5239f9e45d1bb750afe69e03ee5fbc36aef12f474113e
assets/AssetManifest.json,1670601605284,4dc0ac6e0cd8a5aca4a340ed626f7a9410f9abf8c874ee5e6ace847171e71c7a
flutter_service_worker.js,1670601606388,be3d7a14067bbcbc77c1287c79a25c47998bcc36053f25e66fa243ca75b0b64e
assets/FontManifest.json,1670601605284,638dde6f87e8796f3054f78065f73846fc5e170e081d2501d08e3ceaa300edb5
flutter.js,1670550530366,de4a72d96fd92095a331d197e64ba3a4f139133a6917d932b8673ffc58ecf059
icons/Icon-192.png,1669978261987,eaf2464bfb1d192fdd192a616f7b858dee456d573c6ec619648a1dcf2bdddfa6
icons/Icon-512.png,1669978262008,9cf4cd298ae95acc1f25e97d88aa3f6bbfdf40867ea0f8a854c4393f49d56e64
icons/Icon-maskable-192.png,1669979083822,196ce9142a3442ab37ae90cd46c3389e4660400c859b81cbb0538a51b39752eb
icons/Icon-maskable-512.png,1669979083813,6833b7c449e0dd24d5e164a53cc4557e643893e675b476b05efcbb9a6aa05bf0
canvaskit/canvaskit.js,1670443184444,8ff9cbe5dbf69c38eb7c466ad2a03f276996bfafabafa667fb31de3a9ce3161b
canvaskit/profiling/canvaskit.js,1670443184499,6420bd60a37f0870f2d750e80e38eca52602e2664288d1a2ce6f99b399e946a8
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1669806483339,007720e2ea8128f223e5f1a08073b8f40df49b41dac35727107ab73dc4488ae0
assets/NOTICES,1670601605285,6e47265c423c0e680edfbcb4779b357f01aade3d65573837e6bea0d61f0a94ae
assets/fonts/MaterialIcons-Regular.otf,1669979171221,26ccc86b05c476a6b792d6abae012d693ce5e7effabb62ca623c44b7ca264aae
main.dart.js,1670601604062,869c1947270e1f9605d94f283fd089e36aabb3ba15fde678a641336b5c8d77a3
canvaskit/canvaskit.wasm,1670443184493,c02c266899510d8fe7228271e0c9219e42f3f81c38d2cf677abb3893f2bcb119
canvaskit/profiling/canvaskit.wasm,1670443184563,6b433eb1c13eea60832b8f784715a0305ca764effb0443a8134485495203341e
5 changes: 5 additions & 0 deletions expense_tracker/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "expense-tracker-5f15c"
}
}
24 changes: 19 additions & 5 deletions expense_tracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,44 @@ samples, guidance on mobile development, and a full API reference.


# Hosting server link
https://expense-tracker-5f15c.web.app/#/
# Manager credential

manager2@gmail.com
123456789

# user can register and use that details OR

test11@gmail.com
123456789

# Design figma
https://www.figma.com/file/RkLBWp7peRLPpF0yoH3FuH/Expense-Tracker?node-id=0%3A1&t=zY1LcmiAi9Gkz18P-1
# PWA link

https://expenses-track.surge.sh/#/

# Git hub link

https://github.coventry.ac.uk/suresha9/Expense-tracker.git

# Test suits

Test caseId Test Scenario Testcase title pre-requisites Test Steps Expected result Actual resut
Test caseId Test Scenario Testcase title pre-requisites Test Steps Expected result Actual resut


TC_001 Register Register to account Move to home page 1.Click on Signup text 1.Move to signup page 1.Move to signup page
TC_001 user-Register Register to account Move to home page 1.Click on Signup text 1.Move to signup page 1.Move to signup page
2.Enter details 2.save details to database 2.save details to database
3.click on sign up 3.Move to Home 3.Move to Home
move to Home screen
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TC_002 Login Login to account move to home page 1.Enter the register details 1.check register data 1.check register data
2.if data exist move to home 2.if data exist move to home
TC_002 user-Login Login to account move to home page 1.Enter the register details 1.check register data 1.check register data
2.if data exist move to home 2.if data exist move to home
2.click to sign in
3.check databse for data
4.if data exist move to home
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TC_003 Forget password Forgot password move to signin 1.click on forgotpassword 1.move to forgot password 1.move to forgot password
TC_003 user-Forget password Forgot password move to signin 1.click on forgotpassword 1.move to forgot password 1.move to forgot password
2.sent link and rest password 2.sent link and rest password
3.after reset click on button 3.after reset click on button
4.move to sign in 4.move to sign in
Expand Down
Binary file modified expense_tracker/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions expense_tracker/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build/web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
59 changes: 37 additions & 22 deletions expense_tracker/lib/Components/mnavbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,29 +125,38 @@ class MobileNavbar extends StatelessWidget {
),
Padding(
padding: const EdgeInsets.all(12.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
child: Wrap(
// mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
GestureDetector(
onTap: () => {
Navigator.push(context,
MaterialPageRoute(builder: (context) => MainPage()))
},
child: const Text(
"Home",
style: TextStyle(color: Colors.white, fontSize: 20),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: const Text(
"Home",
style: TextStyle(color: Colors.white, fontSize: 20),
),
),
),
const SizedBox(
width: 30,
),
GestureDetector(
onTap: () => {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => ActivityManager()))
},
child: const Text(
"Activity",
style: TextStyle(color: Colors.white, fontSize: 20),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: const Text(
"Activity",
style: TextStyle(color: Colors.white, fontSize: 20),
),
),
),
const SizedBox(
Expand All @@ -158,25 +167,31 @@ class MobileNavbar extends StatelessWidget {
Navigator.push(context,
MaterialPageRoute(builder: (context) => Profile()))
},
child: const Text(
"Profile",
style: TextStyle(color: Colors.white, fontSize: 20),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: const Text(
"Profile",
style: TextStyle(color: Colors.white, fontSize: 20),
),
),
),
const SizedBox(
width: 30,
),
MaterialButton(
color: Colors.pink,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(20.0))),
onPressed: () => {
Navigator.push(context,
MaterialPageRoute(builder: (context) => getstarted()))
},
child: const Text(
"Get Started",
style: TextStyle(color: Colors.white, fontSize: 20),
Padding(
padding: const EdgeInsets.all(8.0),
child: MaterialButton(
color: Colors.pink,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(20.0))),
onPressed: () => {
Navigator.push(context,
MaterialPageRoute(builder: (context) => getstarted()))
},
child: const Text(
"Get Started",
style: TextStyle(color: Colors.white, fontSize: 20),
),
),
)
],
Expand Down
Loading