Skip to content

Commit

Permalink
Clean Merge from dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
smdthiranjaya committed Mar 31, 2024
1 parent 698879d commit c70b8c8
Show file tree
Hide file tree
Showing 52 changed files with 2,616 additions and 0 deletions.
1 change: 1 addition & 0 deletions Backup/File.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions Backup/ProductListView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

17 changes: 17 additions & 0 deletions ContentView.swift
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
}
}
}
77 changes: 77 additions & 0 deletions README.md
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.
533 changes: 533 additions & 0 deletions Vogue Vista.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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>
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
}
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>
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 not shown.
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&lt;Foundation.Data&gt;, Swift.Optional&lt;__C.NSURLResponse&gt;, Swift.Optional&lt;Swift.Error&gt;) -&gt; () in Vogue_Vista.HomeView.loadProducts() -&gt; ()"
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&lt;Foundation.Data&gt;, Swift.Optional&lt;__C.NSURLResponse&gt;, Swift.Optional&lt;Swift.Error&gt;) -&gt; () in Vogue_Vista.HomeView.loadProducts() -&gt; ()"
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>
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 Vogue Vista/Assets.xcassets/AccentColor.colorset/Contents.json
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 Vogue Vista/Assets.xcassets/AppIcon.appiconset/Contents.json
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.
6 changes: 6 additions & 0 deletions Vogue Vista/Assets.xcassets/Contents.json
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.
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
}
}
Loading

0 comments on commit c70b8c8

Please sign in to comment.