- Lujaina - Project Manager
- Aminata - Business Analyst
- Mahnaz - UX/UI Designer
- Parsa Kargari - Full Stack Developer
- Morteza - Frontend Developer
- Axel Sanchez - Backend Developer
- Anfaal - Backend Developer
- Ryan - Backend Developer
- Alison - Backend Developer
All the code is located in the backend/src
directory. The backend is written using Node.js and Express.
- Open the terminal and clone this repository using HTTPS or SSH (The example below uses SSH).
git clone git@github.com:techstartucalgary/fashion.git
cd
into thefashion
directory.
cd fashion
cd
into thebackend
directory.
cd backend
-
Make sure you have
Node.js
andNPM
installed on your machine. Click here to download and install Node.js. Make sure you install the LTS version. NPM is installed automatically when you install Node.js. -
Open the terminal and run
node -v
to check ifNode.js
is installed.
node -v
- In the same terminal run
npm -v
to check ifnpm
is installed.
npm -v
-
If you see the version number of
Node.js
andnpm
then you are good to go. If not, then try to reinstallNode.js
. -
Make sure you have
Docker Desktop
installed on your machine. Click here to download and install Docker Desktop. Make sure you install the latest version. -
Make sure you have
Git
installed on your machine. Click here to download and install Git. Make sure you install the latest version. -
Open the terminal and run
git -v
to check ifGit
is installed.
git -v
- If you see the version number of
Git
then you are good to go. If not, then try to reinstallGit
.
All the tests are located in the backend/test
directory. The tests suites are written using Mocha and Chai.
- Open the terminal and clone this repository using HTTPS or SSH (The example below uses SSH).
git clone git@github.com:techstartucalgary/fashion.git
cd
into thebackend
directory.
cd backend
- Run
npm install
to install all the dependencies.
npm install
- Run
npm run test
to start the server.
npm run test
- Open the terminal and clone this repository using HTTPS or SSH (The example below uses SSH).
git clone git@github.com:techstartucalgary/fashion.git
cd
into thefashion
directory.
cd fashion
cd
into thebackend
directory.
cd backend
- Run
npm install
to install all the dependencies.
npm install
- Run
npx prisma init
to initialize the database.
npx prisma init
- Update your
prisma/schema.prisma
file within thebackend
folder to use themysql
provider and set the relation mode type toprisma
.
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
relationMode = "prisma"
}
- Once you are ready to push your schema to PlanetScale, run
prisma db push
against your PlanetScale database to update the schema in your database.
npx prisma db push
The frontend is crafted for iOS platforms, utilizing Swift and SwiftUI. The code is primarily housed in the Rethread
directory. This section details the setup, development practices, and testing for the frontend environment.
-
Clone the Repository:
git clone git@github.com:techstartucalgary/fashion.git
-
Navigate to the Frontend Directory:
cd Rethread
-
Open the Project in Xcode: Open the project file
.xcodeproj
in Xcode. -
Run the Application: Select an iOS simulator or connected device in Xcode and click 'Run'.
-
Install Xcode: Ensure you have Xcode installed on your macOS, available through the Mac App Store.
-
Update Swift and SwiftUI: Ensure you have the latest version of Swift and SwiftUI installed, as they are crucial for frontend development.
-
Verify the Installation: Open Xcode and check for Swift and SwiftUI updates in the preferences.
-
Minimum iOS Version: This app is built for
iOS 16
and above.
-
swiftui-introspect: We use the swiftui-introspect package for advanced introspection of SwiftUI views.
-
swiftui-navigation-transitions: The swiftui-navigation-transitions package is used to add custom transitions to your SwiftUI navigation.
-
AVKit: We utilize AVKit for video processing within the app.
-
Unit Testing: Write unit tests for individual components using XCTest.
-
UI Testing: Automate UI tests to simulate user interaction with the app.
-
Build for Testing: Use Xcode to build the app for testing on simulators or real devices.
-
Deployment: Prepare the app for deployment to the App Store, internal distribution, or TestFlight.
-
Swift Documentation: Refer to Swift Documentation for language specifics.
-
SwiftUI Tutorials: Explore SwiftUI Tutorials for hands-on learning.
-
Apple Developer Forums: Utilize Apple Developer Forums for community support.