Skip to content

Commit

Permalink
Revert "Merge branch 'main' into development"
Browse files Browse the repository at this point in the history
This reverts commit bec6307, reversing
changes made to 03b6487.
  • Loading branch information
CharlizeHanekom committed Aug 12, 2024
1 parent bec6307 commit 0837655
Show file tree
Hide file tree
Showing 107 changed files with 11,509 additions and 552 deletions.
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ yarn-error.*

# Jest
/jest.config.js

package-lock.json
14 changes: 4 additions & 10 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'regenerator-runtime/runtime';
import "regenerator-runtime/runtime";
import { StyleSheet, Text, View } from "react-native";
import React from "react";
import { useState } from "react";
Expand All @@ -9,7 +9,7 @@ import { GestureHandlerRootView } from "react-native-gesture-handler";
import ProfilePage from "./frontend/src/Screens/ProfilePage";
import EditProfile from "./frontend/src/Screens/EditProfile";
import Icon from "react-native-vector-icons/MaterialIcons";
import CustomDrawer from "./frontend/src/Components/ProfileDrawer";
import CustomDrawer from "./frontend/src/Screens/ProfileDrawer";
import HomePage from "./frontend/src/Screens/HomePage";
import Home from "./frontend/src/Screens/Home";
import MainHeader from "./frontend/src/Components/MainHeader";
Expand All @@ -18,6 +18,7 @@ import SearchHeader from "./frontend/src/Components/SearchHeader";
import ProfileHeader from "./frontend/src/Components/ProfileHeader";
import LoginPage from "./frontend/src/Screens/LoginPage";
import SignupPage from "./frontend/src/Screens/SignupPage";
import ProfileSetup from "./frontend/src/Screens/ProfileSetupPage";
import LandingPage from "./frontend/src/Screens/LandingPage";
import ExplorePage from "./frontend/src/Screens/ExplorePage";
import SearchPage from "./frontend/src/Screens/SearchPage";
Expand Down Expand Up @@ -57,16 +58,9 @@ import Rooms from "./frontend/src/Screens/Rooms";
const Nav = createNativeStackNavigator();

export default function App() {
const [drawerVisible, setDrawerVisible] = useState(false);
const [navigationState, setNavigationState] = useState(null);
const theme = useTheme();

const toggleDrawer = () => {
setDrawerVisible(!drawerVisible);
};

const closeDrawer = () => {
setDrawerVisible(false);
};
return (
// <WebSocketProvider>
<GestureHandlerRootView>
Expand Down
218 changes: 0 additions & 218 deletions Documents/coding_standards.md

This file was deleted.

Binary file removed Documents/srs_v1.pdf
Binary file not shown.
Binary file removed Documents/srs_v2.pdf
Binary file not shown.
Binary file removed Documents/user_manual.pdf
Binary file not shown.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<div align="center">
<h1 align="center">Girls Gone Code </h1>
<img src="https://github.com/COS301-SE-2024/MovieHub/assets/134503930/6691e89c-7e55-4919-a12f-72363f3082dd" style="height: 7%;">
<img src="https://github.com/COS301-SE-2024/MovieHub/assets/134503930/1e1ca1d9-4474-48ce-833b-07e82e5f29db" style="height: 7%;">
<br>
<br>
<h1 align="center">Engage with Films Like Never Before!</h1>
Expand All @@ -11,7 +11,6 @@
</h3>
<div align="center">


# Badges #
![GitHub issues](https://img.shields.io/github/issues/COS301-SE-2024/MovieHub)
![GitHub pull requests](https://img.shields.io/github/issues-pr/COS301-SE-2024/MovieHub)
Expand All @@ -32,31 +31,15 @@

[Girls Gone Code - Demo1](https://drive.google.com/file/d/1f2MYe6KOZmrjrmMTc_NtuJ8d3Rhkcvde/view?usp=sharing)

[Girls Gone Code - Demo2](https://drive.google.com/file/d/1f2MYe6KOZmrjrmMTc_NtuJ8d3Rhkcvde/view?usp=sharing)

[Girls Gone Code - Demo3](https://drive.google.com/file/d/1f2MYe6KOZmrjrmMTc_NtuJ8d3Rhkcvde/view?usp=sharing)

# Project Management #
[Project Board](https://github.com/orgs/COS301-SE-2024/projects/72)

# Documentation #
[User Manual](https://drive.google.com/file/d/1iv4GoROOOOWD6gOVhm0HEjQvYxB16WmX/view?usp=drive_link)

[Coding Standards](Documents/coding_standards.md)

[Technical Installation Guide](https://docs.google.com/document/d/1zp0Hbq3SqKYIm8k-iSeQAuG_CHX94tTBwCCRNEXxHXU)

[System Requirements Specification](Documents/srs_v1.pdf)

[System Requirements Specification V2](Documents/srs_v2.pdf)

[System Requirements Specification V3](https://docs.google.com/document/d/1ogFLG_cuWd7z3-1SvTDk6gqk7DkN6dANgGDCkluFNEk)
[System Requirements Specification](https://drive.google.com/drive/folders/16fJP4jYCHB0H5OU3CgpYu_xFF-FxxibN?usp=sharing)

## Branching Strategy
![image](https://github.com/COS301-SE-2024/MovieHub/assets/40609889/a27a0067-9f71-423c-a333-9a0b716767bf)

We use GitFlow as our branching strategy, with main, development, and feature branches.

![image](https://github.com/COS301-SE-2024/MovieHub/assets/40609889/a27a0067-9f71-423c-a333-9a0b716767bf)

## Branch Naming Convention
**Main Branch**: `main`
Expand Down
Binary file added assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/film.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/film2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/movieposters.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/neon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/spectre.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_access_account_re_8spm 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_faq_re_31cw 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_my_app_re_gxtj 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_pending_approval_xuu9 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_sign_up_n6im 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/undraw_social_girl_re_kdrx 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/vintagefilm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [['module:react-native-dotenv'],'react-native-reanimated/plugin',],

};
};
36 changes: 36 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,39 @@
.env
node_modules/
yarn.lock
coverage/

# Expo
.expo/
dist/
web-build/

# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local
.env

# typescript
*.tsbuildinfo

# Jest
/jest.config.js
Empty file removed backend/package-lock.json
Empty file.
6 changes: 3 additions & 3 deletions backend/src/Auth/auth.router.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import express from 'express';
import authController from '../auth.controller';
const express = require('express');
const authController = require('./auth.controller');

const router = express.Router();

router.post('/register', authController.register);
router.post('/login', authController.login);
router.post('/logout', authController.logout);

export default router;
module.exports =router;
Loading

0 comments on commit 0837655

Please sign in to comment.