Skip to content

bounswe/bounswe2024group6

Repository files navigation

This repository belongs to the Group 6 of CMPE 352 Course

White and Black Corporate Architecture Presentation

About Us

We are 3rd and 4th year students of Department of Computer Engineering. We are taking CMPE352 course from Suzan Üsküdarlı in 2024 Spring semester!

About the Project

Our project is a semantic information for architectural domain. In the Wiki page you can find our Requirements work for the project. Currently we are done with search bar and user authentication. Post, profile and feed features are to be implemented soon.

Team Members

Project Build Steps

  • Prerequisites: Docker

  • Clone the repository to your local environment:

git clone https://github.com/bounswe/bounswe2024group6.git
cd bounswe2024group6
  • Set the env variables as shown in ./.env.example in ./.env.

  • Update allowed hosts in ./backend\django-rest-auth\server\settings.py. Add the IPs that can send request to your API. For your local environment, add local host.

  • Set base urls in frontend\src\pages\Browse.tsx, frontend\src\pages\Home.tsx pages (ie. local host).

  • After that, run the docker codes below to start the application:

docker compose build
docker compose up

Mobile App

  • First, go to the project folder, it is where package.json is located.
  • Use the commands
npm run start
npm run android
npm run ios

and what they do respectively as follows:

  • Runs the expo server.
  • Runs the app in an android device
  • Runs the app in an ios device

Then you can reach the mobile app and web app via following IP addresses:

Once the expo server starts, you can do the following:

› Press s │ switch to development build

› Press a │ open Android

› Press i │ open iOS simulator

› Press w │ open web

› Press j │ open debugger

› Press r │ reload app

› Press m │ toggle menu

› Press o │ open project code in your editor

› Press ? │ show all commands