Student Meet is an app build for all the students at our campus. We noticed that not a lot of events where hosted at our school so for this project we made an app where students themselves could create their events. It's very easy to join and create new events and you can add them to a categoty. you get notifications when something happens in an event you joined and you can easly keep track of all the events you are hosting or participating in.
Warning
We reccomend you to use Expo go to see the mobile app at its best, Some features only work on mobile devices. These features are mainly popups and alerts.
This project uses a Firebase database so prepare to set one up
expo go download:
App store: https://apps.apple.com/us/app/expo-go/id982107779
Play store: https://play.google.com/store/apps/details?id=host.exp.exponent&hl=en&pli=1
easiest with one of these options:
- Use github desktop do clone this project in a repository
- use
git clone https://github.com/mathis-de-brouwer/IT_Project_EHBMeet.gitin a terminal
Now you can open this project in Visual studio code
After opening the project, open a terminal and run npm install
Create a firebase.ts file in the Student-Meet Directoy
copy the contents of the firebase.example.ts file into firebase.ts
Now you need to create a Firebase:
- Go to https://firebase.google.com
- Click on
Get Started - Create a new project
- Enter a name for the project (example: Student-Meet)
- Make sure Google Analytics is checked on for this project
- Click on
continue - Select an account (default: Default Account for Firebase)
- Create a new project
Now you have to add the firebase to the app:
-
Click on the
</>icon to create a web app link -
Give your App a nickname (example: Student-Meet)
-
Check the box to set up Firebase Hosting for this app
-
Click on
Register App -
back in your project Open a terminal and run
npm install firebase -
Copy the values of these variables into the
firebase.tsfile you createdFields to fill in:
apiKey: "", authDomain: "", projectId: "", StorageBucket: "", MessagingSenderId: "", appId: "", measurementId: "" -
Click on
next -
Run
npm install -g firebase-tools -
Run
firebase deploy --only hosting:-your-own-value -
Click on
Continue to console
The firebase has been setup
To start the application run npm run web, this will start the webapplication.
This might take a while to initialize. After the web builder is complete a QR code will appear in the terminal, scan this with your mobile phone. this will open Expo go and the project will be on your phone.
To enter the app you will have to register BUT there is a check that will only allow @ehb and @stundet.ehb mails to register. once logged in you will have the students view
To become an admin you will have to change some information in the database itself, we did not add a feature for an easy first admin creation for safety messures
- Open Firestore Database
- You will se a Collection named Users, click on it
- search for the account you want to make admin, click on it
- On the bottom of the field list you will see a field
role - click on it and change the value from student to admin
- The account is admin
- (if you don't see an admin dashboard under profile you might have to restart the web application)
Amina Iqbal
Soufianne Hamoumi
Giles Synaeve
Mathis de Brouwer
Bilal Bakkali
Used react.js Expo Javascript Typescript