This is a simple slack app clone. DEMO. This project was generated with Angular CLI version 8.0.2.
UI cloned from https://github.com/eddieos/slack-clone-angular-ui
- Initialize App with Stream Chat v1.0.0
- Part1: Channel and Direct messages with Stream Chat
- Part2: Fleshing out our Slack app with online status, message reactions and is typing
- Part3: Adding thread feature to our Slack app
- Part4: Adding custom bot (Slack bot) with Dialogflow to our Slack App
- Update stream.service.ts to use your own
APP_KEY - Run
ng servefor a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files. - Run
npm run serverit follows Twelve-Factor for handling environment variables listed belowSTREAM_APP_KEYSTREAM_APP_SECRET
e.g STREAM_APAP_KEY=[appKey] node server.js then POST http://localhost:2000/join
or Create a .env file with the above variables above, like so
STREAM_APP_KEY="APP_KEY"
STREAM_APP_SECRET="APP_SECRET"and run the below in your terminal
node server.jsRun ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Using gh-pages to host our angular app. Run npm run deploy to build and send to gh-pages
- StreamChat - APIs to enable devs building realtime chat features
- Angular - Frontend framework that makes it easy to build application with the web
- Express - Used for our APIs server