Is a chat application containg different features such as:
- OAuth
- Send Invitaion
- Cancel Invitation
- Accept Invitation
- Refuse Invitation
- Create a Channel
- Delete a Channel
- Modify a message
- Delete a message
- ...
- Clone this repository, from your local machine:
git clone https://github.com/adaltas/ece-webtech-2021-fall.git webtech cd webtech/courses/webtech/project
- Install Go and Dex. For example, on Ubuntu, from your project root directory:
Note, the provided
# Install Go apt install golang-go # Download Dex git clone https://github.com/dexidp/dex.git # Build Dex cd dex make make examples
.gitignore
file ignores thedex
folder. - Register your GitHub application, get the
clientID
andclientSecret
from GitHub and report them to your Dex configuration. Modify the provided./dex-config/config.yml
configuration to look like:- type: github id: github name: GitHub config: clientID: xxxx98f1c26493dbxxxx clientSecret: xxxxxxxxx80e139441b637796b128d8xxxxxxxxx redirectURI: http://127.0.0.1:5556/dex/callback
- Inside
./dex-config/config.yml
, the front-end application is already registered and CORS is activated. Now that Dex is built and configured, you can start the Dex server:cd dex bin/dex serve dex-config/config.yaml
- Start the back-end
cd back-end # Install dependencies (use yarn or npm) yarn install yarn run develop
- Start the front-end
cd front-end # Install dependencies (use yarn or npm) yarn install # Start the front-end yarn start
Paul SADE [email protected]
Mathis CAMARD [email protected]