- 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.gitcdinto thefashiondirectory.
cd fashioncdinto thebackenddirectory.
cd backend-
Make sure you have
Node.jsandNPMinstalled 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 -vto check ifNode.jsis installed.
node -v- In the same terminal run
npm -vto check ifnpmis installed.
npm -v-
If you see the version number of
Node.jsandnpmthen you are good to go. If not, then try to reinstallNode.js. -
Make sure you have
Docker Desktopinstalled on your machine. Click here to download and install Docker Desktop. Make sure you install the latest version. -
Make sure you have
Gitinstalled on your machine. Click here to download and install Git. Make sure you install the latest version. -
Open the terminal and run
git -vto check ifGitis installed.
git -v- If you see the version number of
Gitthen 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.gitcdinto thebackenddirectory.
cd backend- Run
npm installto install all the dependencies.
npm install- Run
npm run testto 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.gitcdinto thefashiondirectory.
cd fashioncdinto thebackenddirectory.
cd backend- Run
npm installto install all the dependencies.
npm install- Run
npx prisma initto initialize the database.
npx prisma init- Update your
prisma/schema.prismafile within thebackendfolder to use themysqlprovider 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 pushagainst your PlanetScale database to update the schema in your database.
npx prisma db pushThe 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
.xcodeprojin 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 16and 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.