-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update models to be able to sync with sequalize
- Loading branch information
Showing
35 changed files
with
1,371 additions
and
613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ jspm_packages/ | |
|
||
# Logs | ||
logs | ||
sequalize_command.txt | ||
logs.txt | ||
*.log | ||
npm-debug.log* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
# Unite - Video Conferencing Web App | ||
## Submission for Microsoft Engage 2021 🌟 | ||
|
||
[](https://github.com/Apurva-tech/) | ||
[](https://github.com/Apurva-tech/) | ||
[](https://github.com/Apurva-tech/unite/stargazers) | ||
[](https://github.com/Apurva-tech/unite/stargazers) | ||
[](https://github.com/Apurva-tech/unite/network) | ||
[](https://github.com/Apurva-tech/unite) | ||
[](https://github.com/Apurva-tech/unite) | ||
[](https://github.com/Apurva-tech/unite) | ||
[](https://github.com/Apurva-tech/unite) | ||
[](https://github.com/Apurva-tech/unite/) | ||
|
||
Video conferencing solutions with `Unite` | ||
using peer-to-peer connection. | ||
|
||
<p align="center"> | ||
<a href="https://unite-apurva.herokuapp.com/landing"> | ||
<img src="https://user-images.githubusercontent.com/59837325/125489372-57d3ad66-fb25-40f8-8d54-5514cbe4b648.png" alt="Unite-logo"/> | ||
</a> | ||
</p> | ||
|
||
[](https://youtu.be/OKKK1GOnlIU) | ||
|
||
## Features and Interfaces | ||
|
||
1. Landing Page and Feeback Form | ||
- Seamless landing page with `Login with Google` button for user Login using Firebase Authentication | ||
-  | ||
|
||
- One of the most important part of Agile is feedback, therefore the app has a feedback form in the footer | ||
-  | ||
|
||
- Witness by journey of these 4 weeks, through a concise timeline on my landing page | ||
-  | ||
|
||
2. Home page | ||
- Has a signout button with app cards for different features and left division shows the rooms created by user as well as recent rooms visited | ||
-  | ||
|
||
- Toggle between dark-light using the moon icon, according to your preference | ||
-  | ||
|
||
- Preview app cards for the application | ||
-  | ||
|
||
3. Create Meeting | ||
- Create a room and invite people to join by copying the meeting code | ||
-  | ||
|
||
- Enter the common chat room that **persist the messages** using MongoDB | ||
-  | ||
|
||
4. Join Meeting | ||
- Enter the copied meeting ID in a form and join the room with your loved ones. | ||
-  | ||
|
||
5. Video calling & Persistent text chat | ||
- Chat with your friends, family and professional peers before, during and after the meeting. | ||
-  | ||
-  | ||
|
||
- Screen Share options | ||
-  | ||
|
||
6. Schedule Meeting | ||
- Schedule Meeting with Google Calendar and invite people by just entering their email addresses and the app schedules a meet for you with a unique meeting ID as well! | ||
-  | ||
|
||
- Mail sent on scheduling a meeting | ||
-  | ||
-  | ||
|
||
7. AI powered posture bot | ||
- Using `Tf.js` posenet model, the bot notifies the user if they are sitting in a bad posture or too close to the screen. | ||
- Keep your health in check and use this functionality with and without even being in a meeting | ||
-  | ||
|
||
## Tech stack | ||
|
||
 | ||
|
||
### Tools and Languages: | ||
<p align="left"> <a href="https://getbootstrap.com" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg" alt="bootstrap" width="40" height="40"/> </a> <a href="https://www.w3schools.com/css/" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/> </a> <a href="https://expressjs.com" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/express/express-original-wordmark.svg" alt="express" width="40" height="40"/> </a> <a href="https://firebase.google.com/" target="_blank"> <img src="https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg" alt="firebase" width="40" height="40"/> </a> <a href="https://cloud.google.com" target="_blank"> <img src="https://www.vectorlogo.zone/logos/google_cloud/google_cloud-icon.svg" alt="gcp" width="40" height="40"/> </a> <a href="https://git-scm.com/" target="_blank"> <img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/> </a> <a href="https://heroku.com" target="_blank"> <img src="https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg" alt="heroku" width="40" height="40"/> </a> <a href="https://www.w3.org/html/" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://www.mongodb.com/" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/mongodb/mongodb-original-wordmark.svg" alt="mongodb" width="40" height="40"/> </a> <a href="https://nodejs.org" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original-wordmark.svg" alt="nodejs" width="40" height="40"/> </a> <a href="https://sass-lang.com" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/sass/sass-original.svg" alt="sass" width="40" height="40"/> </a> <a href="https://www.tensorflow.org" target="_blank"> <img src="https://www.vectorlogo.zone/logos/tensorflow/tensorflow-icon.svg" alt="tensorflow" width="40" height="40"/> </a> </p> | ||
|
||
## Points to remember while testing the app | ||
|
||
1. Allow **permissions** for camera and mic | ||
2. In case any **user is not broadcasted** it is probably due to server overload, **REFRESH** the window to solve this. | ||
3. Make sure the **URL** is starting with https | ||
4. While **scheduling a meet** make sure the start and end date follow a logical sequence or else it’ll show an error. | ||
5. While testing the **Posture** bot, allow permissions for the camera and allow **notifications**, and **REFRESH** the page for changes to take effect. | ||
6. Wait for the model to analyze, and check for **notifications** | ||
|
||
## Instructions | ||
|
||
|
||
1. `git clone https://github.com/Apurva-tech/unite.git` | ||
2. `cd ./unite` | ||
3. Install node dependencies | ||
- `npm install` | ||
4. Replace firebase API keys with your configurations | ||
5. Create a `.env` file | ||
- Add relevant credentials | ||
- `cp .env.example .env` | ||
5. `npm run dev` | ||
6. The app is now running at http://localhost:3030/landing | ||
|
||
|
||
## Useful Links | ||
|
||
- [Deployed Website](https://unite-apurva.herokuapp.com/landing) | ||
- [Demo Video](https://youtu.be/OKKK1GOnlIU) | ||
- [Sprint Document](https://docs.google.com/presentation/d/11k8pLJPEV-XJwxIX4ysW9fKmHqFEZHcUWizFcFyVsns/edit?usp=sharing) | ||
- [Design Document](https://docs.google.com/document/d/1IJcEbbhsbQna-tgcnfV_9_RhXQi4SURlrl3-0HypArE/edit?usp=sharing) | ||
|
||
## Need help? | ||
|
||
Feel free to contact me on [LinkedIn](https://www.linkedin.com/in/apurva866/) | ||
|
||
[](https://www.instagram.com/mind.wrapper/) [](https://twitter.com/mindwrapper) [](https://medium.com/@apurva866) | ||
|
||
--------- | ||
|
||
```javascript | ||
|
||
if (youEnjoyed) { | ||
starThisRepository(); | ||
} | ||
|
||
``` | ||
|
||
----------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* module.exports = (sequelize, DataTypes) => { | ||
const Account = sequelize.define('Accounts', { | ||
balance: { | ||
type: DataTypes.DECIMAL, | ||
allowNull: false, | ||
}, | ||
}); | ||
Account.associate = (models) => { | ||
Account.belongsTo(models.Users, { | ||
foreignKey: { | ||
allowNull: false, | ||
}, | ||
}); | ||
}; | ||
return Account; | ||
}; | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.