Home
Softono
t

trungvose

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
2

Software by trungvose

angular-spotify
Open Source

angular-spotify

# Angular Spotify [<img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask DeepWiki.com" height="20"/>](https://deepwiki.com/trungvose/angular-spotify) A simple Spotify client built with Angular 15, Nx workspace, ngrx, TailwindCSS and ng-zorro. > I have recently shared about #angularspotify at [AngularAir](https://angularair.com), you can watch the session here 👉 [youtu.be/uPB0KHKlrU8][02-air] ## Working application Check out the **live application** -> https://spotify.trungk18.com **Spotify premium** is required for the Web Playback SDK to play music. If you are using a free account, you can still browse the app, but it couldn't play the music. Sorry about that 🤣 ![Angular Spotify Demo][demo] ![Angular Spotify Lyrics][lyrics] ![Angular Spotify Visualization Selection][visualization-selector] ![Angular Spotify Browse][angular-spotify-browse] ![Angular Spotify Blurry Background][album-art] ![Angular Spotify PWA][pwa] ![Angular Spotify Web Player][web-player] ## Support If you like my work, feel free to: - ⭐ this repository. And we will be happy together :) - [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)][tweet] about Angular Spotify - <a title="Thanks for your support!" href="https://www.buymeacoffee.com/trungvose" target="_blank"><img src="https://res.cloudinary.com/dvujyxh7e/image/upload/c_thumb,w_140,g_face/v1596378474/default-orange_uthxgz.jpg" alt="Buy Me A Coffee"></a> Thanks a bunch for stopping by and supporting me! [tweet]: https://twitter.com/intent/tweet?url=https://github.com/trungk18/angular-spotify&text=A%20cool%20Spotify%20client%20made%20with%20Angular%2012,%20Nx%20workspace,%20ngrx,%20TailwindCSS%20and%20ng-zorro%20%40trungvose&hashtags=angularspotify,angular,nx,ngrx,ngzorro,typescript ## Who is it for 🤷‍♀️ I still remember Window Media Player on windows has the visualization when you start to play the music, and I wanted to have the same experience when listening to Spotify. That is the reason I started this project. I found that there weren't many resources on building a proper real-world scale application, and that's my focus for sharing. I made a [Jira clone application][jira] as the first one for that purpose. [Nx workspace][nx] is getting more and more attention from the Angular community, but people are always confused about how to architect and set up an Nx project. I hope Angular Spotify will give you more insight on that even though it is my first project using Nx 🤣 --- You know I am one of the moderators of [Angular Vietnam][angularvn]. Recently, I also started [Angular Singapore][angularsg]. This piece of work is my other long-term plan to bring Angular knowledge to more people. I desire to advocate and grow the Angular developer community in Singapore and Vietnam :) ## Tech stack ![Tech logos][stack] - [Angular 15][angular] - [Nx Workspace][nx] - [ngneat][] packages includes: `ngneat/svg-icon` and `ngneat/until-destroy` - [ngrx][ngrx] and [ngrx/component-store][component-store] - [ng-zorro][ng-zorro] UI component: `tooltip`, `modal`, `slider`, `switch` and more. - [TailwindCSS][tailwind] - See this video [Everything you need to know about TailwindCSS and Angular applications](https://youtu.be/zSXdJqEPy9w) by [@nartc][nartc] for integration TailwindCSS with Angular - [Netlify][netlify] for deployment [angular]: https://angular.io/ [ngrx]: https://ngrx.io/ [component-store]: https://ngrx.io/guide/component-store [tailwind]: https://tailwindcss.com/ [ng-zorro]: https://ng.ant.design/docs/introduce/en [netlify]: http://netlify.com/ [ngneat]: https://github.com/ngneat I experimented with the ngrx/component store for `AuthStore` and `UIStore`. It might not be a best practice, and I will refactor it very soon. Just FYI 🤣 ## High-level design See my original notes on [Nx workspace structure for NestJS and Angular][gist] ### Principles All components are following: - OnPush Change Detection and async pipes: all components use observable and async pipe for rendering data without any single manual subscribe. Only some places are calling subscribe for dispatching an action, which I will have a refactor live stream session with my friend [@nartc][nartc] to use the component store for a fully subscribe-less application. - SCAMs (single component Angular modules) for tree-shakable components, meaning each component will have a respective module. For example, a RegisterComponent will have a corresponding RegisterModule. We won't declare RegisterComponent as part of AuthModule, for instance. - Mostly, everything will stay in the `libs` folder. New modules, new models, new configurations, new components etc... are in libs. libs should be separated into different directories based on existing apps. We won't put them inside the apps folder. For example in an Angular, contains the `main.ts`, `app.component.ts` and `app.module.ts` ### Structure I followed the structure recommended by my friend [@nartc][nartc]. Below is the simplified version of the application structure. ``` . └── root ├── apps │ └── angular-spotify └── libs └── web (dir) ├── shell (dir) │ ├── feature (angular:lib) - for configure any forRoot modules │ └── ui │ └── layout (angular:lib) ├── settings (dir) │ ├── feature (angular:lib) - for configure and persist all settings │ └── data-access (workspace:lib) - store and services for settings module ├── playlist (dir) │ ├── data-access (angular:lib, service, state management) │ ├── features │ │ ├── list (angular:lib PlaylistsComponent) │ │ └── detail (angular:lib PlaylistDetailComopnent) │ └── ui (dir) │ └── playlist-track (angular:lib, SCAM for Component) ├── visualizer (dir) │ ├── data-access (angular:lib) │ ├── feature │ └── ui (angular:lib) ├── home (dir) │ ├── data-access (angular:lib) │ ├── feature (angular:lib) │ └── ui (dir) │ ├── featured-playlists (angular:lib, SCAM for Component) │ ├── greeting (angular:lib, SCAM for Component) │ └── recent-played (angular:lib, SCAM for Component) └── shared (dir) ├── app-config (injection token for environment) ├── data-access (angular:lib, API call, Service or State management to share across the Client app) ├── ui (dir) ├── pipes (dir) ├── directives (dir) └── utils (angular:lib, usually shared Guards, Interceptors, Validators...) ``` ### Authentication Flow > **⚠️ Migration Notice:** This application previously used the `Implicit Grant Flow`, which [will be sunset on November 27, 2025](https://developer.spotify.com/documentation/web-api/tutorials/implicit-flow). The application has been migrated to use **Authorization Code with PKCE** flow, which is the recommended approach for client-side only applications that don't involve secret keys. I follow the **Authorization Code with PKCE** flow that Spotify recommends for client-side only applications. This flow provides better security than the deprecated Implicit Grant Flow and includes refresh tokens to extend access when tokens expire. View the [Spotify Authorization Guide](https://developer.spotify.com/documentation/general/guides/authorization-guide/) and [Authorization Code PKCE Tutorial](https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow) - Upon opening Angular Spotify, It will redirect you to Spotify to get access to your data. Angular Spotify only uses the data purely for displaying on the UI. We won't store your information anywhere else. - Angular Spotify stores the access token and refresh token in browser local storage. Access tokens are valid for **one hour** and are automatically refreshed using the refresh token when they expire. - After having the token, I'll try to connect to the Web Playback SDK with a new player - `Angular Spotify Web Player` #### Authorization Code with PKCE Flow Diagram ```mermaid sequenceDiagram participant User participant App as Angular App participant AuthStore as AuthStore participant Spotify as Spotify Accounts participant API as Spotify Web API User->>App: Opens Application App->>AuthStore: initAuth() AuthStore->>AuthStore: Check URL for authorization code alt First Login: Authorization Code Present AuthStore->>AuthStore: handleFirstLogin(code) AuthStore->>API: POST /api/token<br/>(code + code_verifier) API->>AuthStore: Return access_token & refresh_token AuthStore->>AuthStore: Save tokens to localStorage AuthStore->>App: Dispatch AuthReady else No Code: Check Existing Tokens alt No Tokens Found AuthStore->>AuthStore: Generate code_verifier (128 chars) AuthStore->>AuthStore: Generate code_challenge (SHA256) AuthStore->>AuthStore: Store code_verifier AuthStore->>Spotify: Redirect to /authorize<br/>(with code_challenge) Spotify->>User: Authorization Dialog User->>Spotify: Approve Access Spotify->>App: Redirect with code Note over App: Loop back to "First Login" else Token Expired AuthStore->>AuthStore: handleTokenRefresh() AuthStore->>API: POST /api/token<br/>(refresh_token grant) API->>AuthStore: Return new tokens AuthStore->>AuthStore: Save tokens to localStorage AuthStore->>App: Dispatch AuthReady else Token Valid AuthStore->>AuthStore: handleValidToken() AuthStore->>App: Dispatch AuthReady end end ``` ![Angular Spotify Web Playback SDK flow][sdk-flow] ### Dependency Graph Nx provides an [dependency graph][dep-graph-nx] out of the box. To view it on your browser, clone my repository and run: ```bash npm run dep-graph ``` A simplified graph looks like the following. It gives you insightful information for your mono repo and is especially helpful when multiple projects depend on each other. ![Angular Spotify Dependency Graph][dep-graph] ### Nx Computation Cache Having Nx Cloud configured shortens the deployment time quite a lot. Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly. Visit [Nx Cloud](https://nx.app/) to learn more. ![Nx cloud][nx-cloud] ## Features and Roadmap I set a tentative deadline for motivating myself to finish the work on time. Otherwise, It will take forever to complete :) ### 1.0 - Simple Spotify client > March 01 - 28, 2021 - [x] Proven, scalable, and easy to understand the structure with Nx workspace - [x] Play music using Spotify SDK - [x] Load a maximum of 50 save playlists and top 100 songs per playlist. - [x] Cool visualization ## Live stream Let work on it together! I scheduled a few live stream sessions to show you how I continue developing Angular Spotify. Follow [my twitter][twitter] for the latest updates. See the scheduled events. | # | Time | Description/Link | | --- | -------------------------- | --------------------------------------------------------------- | | 1 | Sat, 3rd April 2021, 10AM | [Structure your Angular application with Nx workspace][live-01] | | 2 | Sat, 10th April 2021, 10AM | [Build the album list page][live-02] | | 3 | Sat, 17th April 2021, 10AM | [Build the album detail page - part 1][live-03] | | 4 | Sat, 24th April 2021, 10AM | [Build the album detail page - part 2][live-04] | | 5 | Sat, 8th May 2021, 10AM | [Build the artist detail page - part 1][live-05] | | 6 | Sat, 15th May 2021, 10AM | [Build the artist detail page - part 2][live-06] | | 7 | Sat, 12th Jun 2021, 10AM | [Build the track list page - part 1][live-07] | | 8 | Sat, 19th Jun 2021, 10AM | [Build the track list page - part 2][live-08] | | 9 | Sun, 11th July 2021, 10AM | [NgRx Component Store Unit Testing][live-09] | | 10 | TBD | Config Nx build:affected with Github action | I will also do some refactoring with [@nartc][nartc] for Angular Vietnam Office Hours. More detail is coming soon. [live-01]: https://www.youtube.com/watch?v=9njo6MZWBN0 [live-02]: https://www.youtube.com/watch?v=vEIxjcrXcDc [live-03]: https://youtu.be/c9-WTksAv-s [live-04]: https://www.youtube.com/watch?v=8P3pB40JF2w [live-05]: https://youtu.be/fNhdd-O5c9c [live-06]: https://youtu.be/Tt51-pxm6Ko [live-07]: https://youtu.be/Oj4yomnxfj4 [live-08]: https://youtu.be/1h5KKFSj9Es [live-09]: https://youtu.be/owwRjxm0zs0 ## Community I have received some invitations to talk about Angular Spotify from the community. You can watch my talks below 🙂 [![BLS033](https://pbs.twimg.com/media/EzWVmV3UYAgjgY-?format=jpg&name=small)][01-beeman] [![AngularAir](https://pbs.twimg.com/media/E0zEECXXMAQNpsA?format=jpg&name=medium)][02-air] | # | Time | Description/Link | | --- | -------------------- | -------------------------------------------------- | | 1 | Wed, 21st April 2021 | [BLS SHOW & TELL - Angular Spotify][01-beeman] | | 2 | Fri, 08th May 2021 | [AngularAir - Another 1k stars repository][02-air] | [01-beeman]: https://youtu.be/9zJcb6ZhBaI [02-air]: https://youtu.be/uPB0KHKlrU8 ## Time spending It is a side project that I only spent time outside of the office hours to work on. I initially planned to complete the project within two weeks, but the first two weekends were not very productive, maybe because of the holiday mood from Lunar New Year :) But once the lego blocks are getting together, I feel the rhythm, and I know it has to be finished by the end of March. I couldn't get the full-time report from waka time because it only shows me the latest two weeks. 🤣 I have spent approximately 50 hours working on this project, which is almost the same amount as the first version of [jira.trungk18.com][jira]. The visualizer was the most exciting feature, and I decided to start this project because of that single component. ![Angular Spotify - Time spending][time] ### Accessibility ♿ Not all components have properly defined [aria attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA), visual focus indicators, etc. ## Setting up the development environment 🛠 - `git clone https://github.com/trungk18/angular-spotify.git` - `cd angular-spotify` - `npm start` for starting Angular web application - The app should run on `http://localhost:4200/` ### Unit/Integration tests 🧪 I skipped writing test for this project. ## Compatibility Web Playback SDK supports Chrome, Firefox, Edge, IE 11, or above running on Mac/Windows/Linux. It **doesn't support** Safari or any mobile browser on **Android** or **iOS** View [completed list of supported browsers](https://developer.spotify.com/documentation/web-playback-sdk/#supported-browsers) ## Author: Trung Vo ✍️ - A seasoned front-end engineer with seven years of passion in creating experience-driven products. I am proficient in Angular, React and TypeScript development. - Personal blog: https://trungk18.com/ - Say hello: trungk18 [et] gmail [dot] com ## Contributing If you have any ideas, just [open an issue][issues] and tell me what you think. If you'd like to contribute, please fork the repository and make changes as you'd like. [Pull requests][pull] are warmly welcome. ## Credits and reference Special thanks to my friend [@nartc][nartc], who helped me review the code early. | Resource | Description | | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | [@koel/koel][koel] | A cool player made by [@phanan][phanan], I reused the visualizer code from this repo with my additional customization | | [beeman/component-store-playground][beeman/component-store-playground] | A nice example of using Nx with ngrx/component-store, I refer to the project structure from this repo | | [Start using ngrx/effects for this][tim] | An excellent write up by [Tim Deschryver][tim-twitter] | [koel]: https://github1s.com/koel/core/blob/master/js/utils/visualizer.ts [phanan]: https://twitter.com/notphanan [beeman/component-store-playground]: https://github.com/beeman/component-store-playground [tim]: https://timdeschryver.dev/blog/start-using-ngrx-effects-for-this [tim-twitter]: https://twitter.com/tim_deschryver ## License Feel free to use my code on your project. Please put a reference to this repository. [MIT](https://opensource.org/licenses/MIT) [issues]: https://github.com/trungk18/angular-spotify/issues/new [pull]: https://github.com/trungk18/angular-spotify/compare [jira]: https://jira.trungk18.com/ [twitter]: https://twitter.com/trungvose [nx]: https://nx.dev/ [angularsg]: https://twitter.com/angularsg [angularvn]: https://twitter.com/ngvnofficial [nartc]: https://github.com/nartc [gist]: https://gist.github.com/trungk18/7ef8766cafc05bc8fd87be22de6c5b12 [dep-graph-nx]: https://nx.dev/latest/angular/structure/dependency-graph [stack]: /libs/web/shared/assets/src/assets/readme/angular-spotify-tech-stack.png [time]: /libs/web/shared/assets/src/assets/readme/time-spending.png [dep-graph]: /libs/web/shared/assets/src/assets/readme/dep-graph.png [sdk-flow]: /libs/web/shared/assets/src/assets/readme/sdk-flow.png [demo]: /libs/web/shared/assets/src/assets/readme/angular-spotify-demo-short.gif [visualizer]: /libs/web/shared/assets/src/assets/readme/angular-spotify-visualization.gif [angular-spotify-browse]: /libs/web/shared/assets/src/assets/readme/angular-spotify-browse.gif [album-art]: /libs/web/shared/assets/src/assets/readme/angular-spotify-album-art.gif [pwa]: /libs/web/shared/assets/src/assets/readme/angular-spotify-pwa.gif [web-player]: /libs/web/shared/assets/src/assets/readme/angular-spotify-web-player.png [nx-cloud]: /libs/web/shared/assets/src/assets/readme/nx-cloud.png [lyrics]: /libs/web/shared/assets/src/assets/readme/angular-spotify-lyrics.gif [visualization-selector]: /libs/web/shared/assets/src/assets/readme/angular-spotify-visualization-selector.gif

Frontend Templates Music Streaming
2.8K Github Stars
jira-clone-angular
Open Source

jira-clone-angular

# A simplified Jira clone built with Angular, Akita and ng-zorro > Phase two will not be completed as planned. Both [Chau Tran][chau] and I was too busy with some other commitments. View our [working in progress Graph QL branch][gql]. > > You can check the storybook collection of components I wrote for Jira Clone ➡ [jira-storybook.trungk18.com](https://jira-storybook.trungk18.com/) 📕 > > Thanks for your continuous support. Stay tuned! :muscle: There have been a handful of cool Jira-cloned apps written in `React`/`VueJS`, which makes me wonder **Why not Angular**? And here you go. This is not only a simplified Jira clone built with Angular, but also an example of a **modern**, **real-world** Angular codebase. ## Merry Christmas Thank you for your support! -> https://jira.trungk18.com/project/issue/2020 ![Jira clone built with Angular and Akita][christmas2020] ## Working application Check out the **live demo** -> https://jira.trungk18.com ![Jira clone built with Angular and Akita][demo] ## Storybook ### What is Storybook Storybook helps you build UI components in isolation from your app's business logic, data, and context. That makes it easy to develop hard-to-reach states. Save these UI states as **stories** to revisit during development, testing, or QA. ### Jira Clone Storybook This is the collection of components that I wrote for [jira.trungk18.com][jira], includes: - Avatar - Breadcrumbs - Button - Input - More to come... Check out the **storybook demo** -> https://jira-storybook.trungk18.com/ ![Jira clone built with Angular and Akita][demo-storybook] ## Support If you like my work, feel free to: - ⭐ this repository. And we will be happy together :) - [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)][tweet] about Angular Jira clone - <a title="Thanks for your support!" href="https://www.buymeacoffee.com/trungvose" target="_blank"><img src="https://res.cloudinary.com/dvujyxh7e/image/upload/c_thumb,w_140,g_face/v1596378474/default-orange_uthxgz.jpg" alt="Buy Me A Coffee"></a> Thanks a bunch for stopping by and supporting me! [tweet]: https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Ftrungk18%2Fjira-clone-angular&text=Awesome%20Jira%20clone%20app%20built%20with%20Angular%209%20and%20Akita&hashtags=angular,akita,typescript ## Who is it for 🤷‍♀️ I have been working with Angular for about four years. I built cool stuff at [Zyllem][zyllem] but almost all of them are internal apps which is difficult to show. This is a showcase application I've built in my spare time to experiment the new library that I wanted to try before: `Akita`, `TailwindCSS`, `ng-zorro`. There are many Angular examples on the web but most of them are way too simple. I like to think that this codebase contains enough complexity to offer valuable insights to **Angular developers of all skill levels** while still being _relatively_ easy to understand. --- This piece of work is also part of our technical series [angular-vietnam/100-days-of-angular][100days] which aims at enabling everyone, after 100 days of learning Angular with us, to **self-build their application with the similar scale**. Our desire is to advocate and grow the Angular developer community in Vietnam. [zyllem]: https://www.zyllem.com/ ## Tech stack ![Tech logos][stack] - [Angular CLI][cli] - [Akita][akita] state management - [NestJS][nestjs] - UI modules: - [TailwindCSS][tailwind] - Angular CDK [drag and drop][cdkdrag] - [ng-zorro][ng-zorro] UI component: `tooltip`, `modal`, `select`, `icon` and more. - [ngx-quill][quill] - [Netlify][netlify] - [Heroku][heroku] [cli]: https://cli.angular.io/ [akita]: https://datorama.github.io/akita/ [nestjs]: https://nestjs.com/ [tailwind]: https://tailwindcss.com/ [cdkdrag]: https://material.angular.io/cdk/drag-drop/overview [ng-zorro]: https://ng.ant.design/docs/introduce/en [quill]: https://github.com/KillerCodeMonkey/ngx-quill [netlify]: https://www.netlify.com/ [heroku]: https://www.heroku.com/ ## High level design As requested by [@eric_cart][eric_cart], I draw a simple high-level design for the application. ### Application architecture I have an AppModule that will import: ![Jira clone built with Angular and Akita - Application architecture][application-architecture] - Angular needed modules such as `BrowserModule` and any module that need to run `forRoot`. - The application core modules such as `AuthModule` that need to available on the whole platform. - And I also configured the router to [lazy load any modules][lazy-load] only when I needed. Otherwise, everything will be loaded when I start the application. For instance, `LoginModule` when I open the URL at `/login` and `ProjectModule` when the URL is `/project`. Inside each modules, I could import whatever modules that are required. Such as I need the `JiraControlModule` for some custom UI components for the `ProjectModule` ### Simple data interaction flow As I am using [Akita][akita] state management, I follow the Akita documentation for the data flow. I found it is simple to understand comparing with ngrx terms (`reducer`, `selector`, `effect`) ![Jira clone built with Angular and Akita - Simple data interaction flow][interaction-data-flow] I set up a [project state with initial data][project-store]. The main heavy lifting part I think is the [project service][project-service], it contains all the interacting with [project store][project-store]. Such as after fetching the project successfully, I update the store immediately inside the service itself. The last lego block was to expose the data through [project query][project-query]. Any components can start to inject [project query][project-query] and consume data from there. If you are using ngrx, you have to dispatch an action when you started fetching the project, and then there is an effect somewhere that was detached from your context need to handle the action, send a request to the API server. And finally, the effect will tell whether the data was successfully fetched or not. <u>There is nothing wrong with ngrx approach</u>, it is just too much concept and layer that you need to understand. To be honest, I used to afraid of integrating ngrx in my project because of the unnecessary complexity it would bring. ## Features and Roadmap I set the tentative deadline for motivating myself to finish the work on time. Otherwise, It will take forever to complete :) ### Phase 1 - Angular application and simple Nest API > June 13 - 27, 2020 - [x] Proven, scalable, and easy to understand project structure - [x] Simple drag and drop kanban board - [x] Add/update issue - [x] Search/filtering issues - [x] Add comments > Noted: All of your interactions with data such as leave a comment or change the issue detail will not be saved to the persistent database. Currently, the application will serve a fixed structure of data every time you open the app. It means if you reload the browser, all of your changes will be gone. > > Phase 2 will bring you a proper API where you can log in and save your work. While working with this application, I have the opportunity to revisit some of the interesting topics: - TailwindCSS configuration - that's awesome - Scrollable layout with Flexbox - Deploy Angular application to Netlify I will take two weeks break to: - Fix bugs and UI enhancements for Angular Jira clone. - Continue working with the [typescript-data-structures][typescript-dsa] repo. [typescript-dsa]: https://github.com/trungvose/typescript-data-structures ### Phase 2 > TBD - [ ] Refactor the mono repo to use Nx Workspace - [ ] GraphQL API and store data on the actual database - [ ] Authentication View the current [work in progress branch][gql] ## Tutorial When I look at the application, it is huge. When the task is huge, you usually don't know where and how to start working with them. I started to break the big task into a [simple to-do list on notion][todo-list]. Once I know what needs to be done, what I need is to follow the plan. That's my approach. I learned a lot of stuff. I know you might also have a curiosity about the process of building the same scale app as well. That's why I am writing a tutorial series on how I built Angular Jira clone from scratch. I hope you guys will learn something from that too :) I will try to be as detailed as possible. Hopefully through the tutorial, you will get the idea and will start working on your own application soon. Please bear with me. Its series will also be published in Vietnamese as part of our [angular-vietnam/100-days-of-angular][100days]. | Part | Description | Status | | ---- | ------------------------------------------------------------------------------- | ------ | | 00 | [Behind the 900 stars repository - Slide][part-1] | Done | | 00 | [Behind a thousand stars repository - Angular Air][part-1-video] | Done | | 00 | [Prerequisites][part00] | Done | | 01 | [Create a new repository and set up a new Angular application with CLI][part01] | Done | | 02 | [Build the application layout with flex and TailwindCSS][part02] | Done | | 03 | [Setup Akita state management][part03] | Done | | 04 | [Build an editable textbox][part04] | Done | | 05 | [Build an interactive drag and drop board][part05] | Done | | 06 | [Build a markdown text editor][part06] | Done | | 07 | [Build a rich text HTML editor][part07] | Done | | 08 | [Create placeholder loading (like Facebook's cards loading)][part08] | Done | [part-1]: https://slides.com/trungvose/behind-the-900-star-repository-jira-clone-angular [part-1-video]: https://youtu.be/3dukbsRX0tc [part00]: https://trungvose.com/blog/angular-jira-clone-tutorial-00-prerequisites/ [part01]: https://trungvose.com/blog/angular-jira-clone-tutorial-01-planning-and-set-up/ [part02]: https://trungvose.com/blog/angular-jira-clone-tutorial-02-application-layout-tailwindcss-flex/ [part03]: https://trungvose.com/blog/angular-jira-clone-tutorial-03-akita-state-management/ [part04]: https://trungvose.com/blog/angular-jira-clone-tutorial-04-editable-textbox/ [part05]: https://trungvose.com/blog/angular-jira-clone-tutorial-05-interactive-drag-and-drop-board/ [part06]: https://trungvose.com/blog/angular-jira-clone-tutorial-06-angular-markdown-text-editor/ [part07]: https://trungvose.com/blog/angular-jira-clone-tutorial-07-rich-text-editor/ [part08]: https://trungvose.com/blog/angular-jira-clone-tutorial-08-angular-placeholder-loading/ [todo-list]: https://trungvose.notion.site/Angular-Jira-clone-Phase-1-79d3205e26024357a75ebfc00aba558e?pvs=4 ## Time spending It is a side project that I only spent time outside of the office hours to work on. One day, my team and I were fire fighting on PROD until 11 PM. After taking a shower, I continue with Angular Jira clone for another two hours... According to waka time report, I have spent about 45 hours working on this project. Which is equivalent to watch the [whole Stranger Things series twice][stranger]. I really enjoyed working on this project. The interactive kanban board took me sometimes, it is challenging but exciting at the same time. ![Jira clone built with Angular and Akita - Time spending][time] ## What's currently missing? There are missing features from the live demo which should exist in a real product. All of them will be finished on Phase 2: ### Proper authentication system 🔐 I am currently sending the same email and a random password to the server without any check to get the current user back. Phase 2 will also bring a proper authentication system. ### Accessibility ♿ Not all components have properly defined [aria attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA), visual focus indicators, etc. ## Setting up development environment 🛠 - `git clone https://github.com/trungvose/jira-clone-angular.git` - `cd jira-clone-angular` - `npm install` for installing npm-modules - `npm start` for angular web application - The app should run on `http://localhost:4200/` ### Unit/Integration tests 🧪 I skipped writing test for this project. I might do it for the proper backend GraphQL API. ## Compatibility It was being tested on IE 11, Chrome and Firefox. For Safari, there are some minor alignment issues. ## Author: Trung Vo ✍️ - A young and passionate front-end engineer. Working with Angular and TypeScript. Like photography, running, cooking, and reading books. - Personal blog: https://trungk18.com/ - Say hello: trungk18 [et] gmail [dot] com ## Contributing If you have any ideas, just [open an issue][issues] and tell me what you think. If you'd like to contribute, please fork the repository and make changes as you'd like. [Pull requests][pull] are warmly welcome. ## Credits Inspired by [oldboyxx/jira_clone][oldboyxx] and [Datlyfe/jira_clone][datlyfe]. I reused part of the HTML and CSS code from these projects. ## License Feel free to use my code on your project. It would be great if you put a reference to this repository. [MIT](https://opensource.org/licenses/MIT) [jira]: http://jira.trungk18.com/ [oldboyxx]: https://github.com/oldboyxx/jira_clone [datlyfe]: https://github.com/Datlyfe/jira_clone [stack]: src/assets/img/jira-clone-tech-stack.png [demo]: src/assets/img/jira-clone-angular-demo-trungk18.gif [christmas2020]: src/assets/img/merry-christmas-2020.gif [demo-storybook]: src/assets/img/jira-storybook.gif [time]: src/assets/img/time-spending.png [issues]: https://github.com/trungvose/jira-clone-angular/issues/new [pull]: https://github.com/trungvose/jira-clone-angular/compare [100days]: https://github.com/angular-vietnam/100-days-of-angular [stranger]: https://www.bingeclock.com/s/stranger-things/ [eric_cart]: https://www.reddit.com/r/Angular2/comments/hj4kxd/angular_jira_clone_application_built_akita_and/fwu1tbm/ [application-architecture]: src/assets/img/diagram/application-architecture.png [interaction-data-flow]: src/assets/img/diagram/interaction-data-flow.png [project-store]: src/app/project/state/project/project.store.ts [project-service]: src/app/project/state/project/project.service.ts [project-query]: src/app/project/state/project/project.query.ts [lazy-load]: https://angular.io/guide/lazy-loading-ngmodules [chau]: https://github.com/nartc [tiep]: https://github.com/tieppt [gql]: https://github.com/trungvose/jira-clone-angular/tree/feature/gql

AI & Machine Learning Issue Tracking
2.3K Github Stars