-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
698879d
commit c70b8c8
Showing
52 changed files
with
2,616 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// ContentView.swift | ||
// Vogue Vista | ||
// | ||
// Created by SMD Thiranjaya on BE 2567-03-14. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct ContentView: View { | ||
var body: some View { | ||
NavigationView { | ||
StartupPageViewController() | ||
.navigationBarHidden(true) // Hide navigation bar if you don't want it | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Vogue Vista | ||
|
||
Vogue Vista is an iOS application designed for an online clothing brand. It allows users to browse, search, and purchase clothing items directly from their iOS devices. The app utilizes Auth0 for user authentication and Supabase for backend services. | ||
|
||
## Features | ||
|
||
- User Authentication with Auth0 | ||
- Product Listings | ||
- Product Detail Views | ||
- Shopping Cart Management | ||
- Checkout Functionality | ||
- Responsive and Intuitive User Interface | ||
|
||
## Installation | ||
|
||
Before you can run the project, you need to follow these setup steps: | ||
|
||
### Prerequisites | ||
|
||
- Xcode 12 or later | ||
- CocoaPods or Swift Package Manager | ||
- An Auth0 account | ||
- A Supabase project | ||
|
||
### Setting Up Auth0 | ||
|
||
1. Create a new application in your Auth0 dashboard. | ||
2. Note down your Client ID and Domain. | ||
3. Configure callback URLs, logout URLs, and allowed web origins as per your iOS app's settings. | ||
|
||
### Setting Up Supabase | ||
|
||
1. Create a new project in Supabase. | ||
2. Note down the API URL and anon key from the project settings. | ||
|
||
### Configuring the iOS Project | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/smdthiranjaya/Vogue-Vista.git | ||
cd voguevista | ||
```` | ||
If using CocoaPods, run: | ||
```bash | ||
pod install | ||
```` | ||
Open the .xcworkspace file in Xcode. | ||
2. Add your Auth0 ClientId and Domain to the Auth0.plist file. | ||
3. Update the Supabase URL and anon key in the application's network configuration. | ||
### Usage | ||
To run the application, open the project in Xcode and run it on a simulator or a physical device. | ||
- **Login/Signup:** Users can sign up or log in using the Auth0 integration. | ||
- **Browse Products:** Users can browse the list of products available for purchase. | ||
- **Product Details:** Users can view detailed information about a product. | ||
- **Add to Cart:** Users can add products to their shopping cart. | ||
- **Checkout:** Users can proceed to checkout to complete their purchase. | ||
### Contributing | ||
Contributions to Vogue Vista are welcome! Please read the CONTRIBUTING.md for guidelines on how to contribute to this project. | ||
### License | ||
This project is licensed under the MIT License - see the LICENSE file for details. | ||
### Acknowledgments | ||
- Auth0 for authentication services. | ||
- Supabase for providing the backend as a service. | ||
- All the open-source libraries and tools used in this project. |
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
Vogue Vista.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Vogue Vista.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
32 changes: 32 additions & 0 deletions
32
Vogue Vista.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "auth0.swift", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/auth0/Auth0.swift.git", | ||
"state" : { | ||
"revision" : "a4da5b3f8c962357b67620dae8d5e2a4f9ca02fd", | ||
"version" : "2.6.0" | ||
} | ||
}, | ||
{ | ||
"identity" : "jwtdecode.swift", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/auth0/JWTDecode.swift.git", | ||
"state" : { | ||
"revision" : "58af7278797871e460d79496621b3e5366b865b2", | ||
"version" : "3.1.0" | ||
} | ||
}, | ||
{ | ||
"identity" : "simplekeychain", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/auth0/SimpleKeychain.git", | ||
"state" : { | ||
"revision" : "f082494aab8056139a4fe234c920a9f92f681aff", | ||
"version" : "1.1.0" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
28 changes: 28 additions & 0 deletions
28
...xcodeproj/project.xcworkspace/xcuserdata/thiranjaya.xcuserdatad/Bookmarks/bookmarks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>top-level-items</key> | ||
<array> | ||
<dict> | ||
<key>destination</key> | ||
<dict> | ||
<key>rebasable-url</key> | ||
<dict> | ||
<key>base</key> | ||
<string>workspace</string> | ||
<key>payload</key> | ||
<dict> | ||
<key>relative-path</key> | ||
<string>Backup/File.swift</string> | ||
</dict> | ||
</dict> | ||
<key>type</key> | ||
<string>DVTDocumentLocation</string> | ||
</dict> | ||
<key>type</key> | ||
<string>bookmark</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
5 changes: 5 additions & 0 deletions
5
...deproj/project.xcworkspace/xcuserdata/thiranjaya.xcuserdatad/IDEFindNavigatorScopes.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array/> | ||
</plist> |
Binary file added
BIN
+148 KB
...proj/project.xcworkspace/xcuserdata/thiranjaya.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
56 changes: 56 additions & 0 deletions
56
Vogue Vista.xcodeproj/xcuserdata/thiranjaya.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
uuid = "6572141E-42B9-47CD-8DBA-8E113F134443" | ||
type = "1" | ||
version = "2.0"> | ||
<Breakpoints> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
uuid = "402E4916-336B-4D0B-BE32-7E3F93596C12" | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "Vogue Vista/Screens/home.swift" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "94" | ||
endingLineNumber = "94" | ||
landmarkName = "loadProducts()" | ||
landmarkType = "7"> | ||
<Locations> | ||
<Location | ||
uuid = "402E4916-336B-4D0B-BE32-7E3F93596C12 - 45642012d17e7bd" | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "closure #1 @Sendable (Swift.Optional<Foundation.Data>, Swift.Optional<__C.NSURLResponse>, Swift.Optional<Swift.Error>) -> () in Vogue_Vista.HomeView.loadProducts() -> ()" | ||
moduleName = "Vogue Vista" | ||
usesParentBreakpointCondition = "Yes" | ||
urlString = "file:///Users/thiranjaya/NIBM/APP/IOS%20App/Vogue%20Vista/Vogue%20Vista/Screens/home.swift" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "94" | ||
endingLineNumber = "94" | ||
offsetFromSymbolStart = "872"> | ||
</Location> | ||
<Location | ||
uuid = "402E4916-336B-4D0B-BE32-7E3F93596C12 - 45642012d17e45e" | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "closure #1 @Sendable (Swift.Optional<Foundation.Data>, Swift.Optional<__C.NSURLResponse>, Swift.Optional<Swift.Error>) -> () in Vogue_Vista.HomeView.loadProducts() -> ()" | ||
moduleName = "Vogue Vista" | ||
usesParentBreakpointCondition = "Yes" | ||
urlString = "file:///Users/thiranjaya/NIBM/APP/IOS%20App/Vogue%20Vista/Vogue%20Vista/Screens/home.swift" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "95" | ||
endingLineNumber = "95" | ||
offsetFromSymbolStart = "416"> | ||
</Location> | ||
</Locations> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
</Breakpoints> | ||
</Bucket> |
35 changes: 35 additions & 0 deletions
35
Vogue Vista.xcodeproj/xcuserdata/thiranjaya.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>JWTDecode (Playground) 1.xcscheme</key> | ||
<dict> | ||
<key>isShown</key> | ||
<false/> | ||
<key>orderHint</key> | ||
<integer>2</integer> | ||
</dict> | ||
<key>JWTDecode (Playground) 2.xcscheme</key> | ||
<dict> | ||
<key>isShown</key> | ||
<false/> | ||
<key>orderHint</key> | ||
<integer>3</integer> | ||
</dict> | ||
<key>JWTDecode (Playground).xcscheme</key> | ||
<dict> | ||
<key>isShown</key> | ||
<false/> | ||
<key>orderHint</key> | ||
<integer>0</integer> | ||
</dict> | ||
<key>Vogue Vista.xcscheme_^#shared#^_</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>0</integer> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
11 changes: 11 additions & 0 deletions
11
Vogue Vista/Assets.xcassets/AccentColor.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
Vogue Vista/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "logo.jpg", | ||
"idiom" : "universal", | ||
"platform" : "ios", | ||
"size" : "1024x1024" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "1x", | ||
"size" : "16x16" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "2x", | ||
"size" : "16x16" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "1x", | ||
"size" : "32x32" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "2x", | ||
"size" : "32x32" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "1x", | ||
"size" : "128x128" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "2x", | ||
"size" : "128x128" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "1x", | ||
"size" : "256x256" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "2x", | ||
"size" : "256x256" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "1x", | ||
"size" : "512x512" | ||
}, | ||
{ | ||
"idiom" : "mac", | ||
"scale" : "2x", | ||
"size" : "512x512" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions
35
Vogue Vista/Assets.xcassets/checkoutProcessImage.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"filename" : "1024.png", | ||
"idiom" : "iphone", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "1024 1.png", | ||
"idiom" : "iphone", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "1024 2.png", | ||
"idiom" : "iphone", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Oops, something went wrong.