Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RocketChat PWA with Angular, Service Worker, Apollo and GraphQL #25

Closed
wants to merge 178 commits into from

Conversation

eitanfr
Copy link
Contributor

@eitanfr eitanfr commented Jun 25, 2017

Rocket chat PWA based on Angular and graphQL.

  • Run client and mock server with: yarn start
  • Chat powered by graphQL:
    • Data fetching and pagination with graphql queries
    • Message sending with graphql mutations.
    • Realtime data with graphql subscriptions
  • Mock server:
    • Exposes graphql scheme with mock chat data
    • Login, logout with JSAccounts
    • Oauth support (google account)
    • requires mongo
    • Run with yarn server
  • Aot Build:
    • Angular AOT build
    • Creating SW on the fly
    • Run with yarn build
  • Types Generator
    • Scheme types converted to typescript classes
    • Run with yarn generate:types
  • Routing:
    • Implemented with angular-router, protected with angular-router guard.
  • PWA
    • Splash Screen
    • App shortcut in mobile
    • Offline support and offline indicator
    • Static data caching using service worker
    • Dynamic data (apollo,jsAccount) caching using redux-persist
  • UI
    • Ionic material design components
    • Can be changed to any UI that is desired, probably will decrease the bundle size.
    • Virtual scroll

Suggestions:

  • Upgrade to angular-material or any custom UI

Main libraries :

tomermoshe and others added 30 commits May 27, 2017 17:05
fixed auto bottom scrolling in chat
fixed login page css
# Conflicts:
#	src/app/app.module.ts
#	src/app/components/login/login.component.scss
renamed stuff - better names
fixed some stuff
# Conflicts:
#	package.json
#	src/app/app.module.ts
#	src/app/components/login-page/login-page.component.scss
#	src/app/components/login-page/login-page.component.ts
# Conflicts:
#	src/app/app.module.ts
#	src/app/app.routing.ts
#	src/app/chat/channel/channel.component.html
#	src/app/chat/channel/channel.component.scss
#	src/app/chat/channel/channel.component.ts
#	src/app/chat/main-container/main-container.component.html
#	src/app/chat/main-container/main-container.component.scss
#	src/app/chat/main-container/main-container.component.ts
#	src/app/components/channel-view/channel-view.component.html
#	src/app/components/channel-view/channel-view.component.ts
#	src/app/components/channel/channel.component.html
#	src/app/components/channel/channel.component.ts
#	src/app/components/chat-page/chat-page.component.html
#	src/app/components/chat-page/chat-page.component.scss
#	src/app/components/chat-page/chat-page.component.ts
#	src/app/components/chat/chat.component.html
#	src/app/components/chat/chat.component.scss
#	src/app/components/chat/chat.component.ts
#	src/app/components/login-page/login-page.component.html
#	src/app/components/login-page/login-page.component.scss
#	src/app/components/login-page/login-page.component.ts
#	src/app/components/login/login.component.html
#	src/app/components/login/login.component.scss
#	src/app/components/login/login.component.ts
#	src/app/shared/components/login/login.component.html
#	src/app/shared/components/login/login.component.scss
#	src/app/shared/components/login/login.component.ts
@CLAassistant
Copy link

CLAassistant commented Jun 25, 2017

CLA assistant check
All committers have signed the CLA.

@geekgonecrazy
Copy link

Took time to read through this. Wow! This is awesome

@karlprieb
Copy link
Contributor

Already merged on develop branch

@karlprieb karlprieb closed this Aug 21, 2017
karlprieb pushed a commit that referenced this pull request Jan 10, 2018
OAuth, removed mock server, latest releases, many fixes and more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants