{"id":19378745,"url":"https://github.com/dynamods/notificationcenter","last_synced_at":"2025-04-23T19:32:29.356Z","repository":{"id":49813352,"uuid":"515708342","full_name":"DynamoDS/NotificationCenter","owner":"DynamoDS","description":"Dynamo Notification Center WebApp","archived":false,"fork":false,"pushed_at":"2024-10-09T19:18:12.000Z","size":697,"stargazers_count":1,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-09T22:43:17.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DynamoDS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-19T19:00:13.000Z","updated_at":"2024-10-09T18:47:48.000Z","dependencies_parsed_at":"2024-01-08T21:47:46.827Z","dependency_job_id":"e2b850ab-51a2-4692-af35-47f55c2c55d1","html_url":"https://github.com/DynamoDS/NotificationCenter","commit_stats":{"total_commits":63,"total_committers":8,"mean_commits":7.875,"dds":0.5873015873015873,"last_synced_commit":"7ec7cadfb65248ef6c7740324928e7b466464da8"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynamoDS%2FNotificationCenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynamoDS%2FNotificationCenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynamoDS%2FNotificationCenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynamoDS%2FNotificationCenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DynamoDS","download_url":"https://codeload.github.com/DynamoDS/NotificationCenter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223932116,"owners_count":17227277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T09:07:02.353Z","updated_at":"2024-11-10T09:07:03.045Z","avatar_url":"https://github.com/DynamoDS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NotificationCenter\n\n[![License](https://img.shields.io/npm/l/@dynamods/notifications-center)](https://github.com/DynamoDS/NotificationCenter/blob/master/LICENSE)\n\n[![version](https://img.shields.io/npm/v/@dynamods/notifications-center?logo=npm\u0026label=version)](https://www.npmjs.com/package/@dynamods/notifications-center)\n\n[![Build](https://github.com/DynamoDS/NotificationCenter/actions/workflows/build.yml/badge.svg)](https://github.com/DynamoDS/NotificationCenter/actions/workflows/build.yml)\n\n[![Publish](https://github.com/DynamoDS/NotificationCenter/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/DynamoDS/NotificationCenter/actions/workflows/npm-publish.yml)\n\nDynamo Notification Center WebApp which is leveraged in Dynamo. This can also be leveraged by any products that needs a notification center.\n\n---\n\n## Requirements\n\nFor development, you will only need Node.js and a node global package, installed in your environement.\n\n### Node\n\n- #### Node installation on Windows\n\n  Just go on [official Node.js website](https://nodejs.org/) and download the LTS installer. Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).\n\n- #### Node installation on Ubuntu\n\n  You can install nodejs and npm easily with apt install, just run the following commands.\n\n  ```shell\n  sudo apt install nodejs\n  sudo apt install npm\n  ```\n\n- #### Other Operating Systems\n\n  You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/).\n\n  If the installation was successful, you should be able to run the following command (version outputs are just examples).\n\n  ```shell\n  $ node --version\n  v16.16.0\n\n  $ npm --version\n  8.15.0\n  ```\n\n  If you need to update `npm`, you can make it using `npm`!\n\n  ```shell\n  npm install npm -g\n  ```\n\n---\n\n## Install\n\n```shell\ngit clone https://github.com/DynamoDS/NotificationCenter\ncd NotificationCenter\nnpm install --force\n```\n\n### Notification endpoint\n\n Notification endpoints for different environments are set in `.env` files in [config](config) folder. Webpack will load the correct `.env` file according to `--env` flag passed to it. [More info](https://webpack.js.org/api/cli/#environment-options)\n\n## Running the project\n\n```shell\nnpm run start:dev     # start with dev notification url\nnpm run start:staging # start with staging notification url\nnpm run start         # start with prod notification url\n```\n\n## Building the project\n\n```shell\nnpm run build:dev     # build with dev notification url\nnpm run build:staging # build with staging notification url\nnpm run build         # build with prod notification url\nnpm run bundle        # build without notification url\n```\n\n## Lint\n\nWe use [ESlint](https://eslint.org/) to analyze and find problems. It has [integrations](https://eslint.org/docs/latest/user-guide/integrations) for various editors and other tools.\n\n```shell\nnpm run lint:check  # To find problems\nnpm run lint:fix    # To fix problems\n```\n\n## Test\n\nWe use [jest](https://jestjs.io/) to run our tests.\n\n```shell\nnpm run test:unit   # To run unit test\nnpm run test:e2e    # To run e2e test\nnpm run test        # To runs all tests along with lint\n```\n\n## Generate Third Party License Info\n\n- To generate about box html files use `npm run generate_license`, this will output alternative about box files to [license_output](license_output). One will contain the full transitive production dep list, the other will contain the direct production deps.\n- These files will be packed into the released npm package\n\n## Bump Version\n\n```shell\nnpm run version:patch   # To bump patch version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamods%2Fnotificationcenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamods%2Fnotificationcenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamods%2Fnotificationcenter/lists"}