{"id":20887394,"url":"https://github.com/ryanweal/hits","last_synced_at":"2026-05-05T15:38:05.013Z","repository":{"id":42991902,"uuid":"158161948","full_name":"ryanweal/hits","owner":"ryanweal","description":"Sample Apache Cassandra + Node.js analytics webservice demo","archived":false,"fork":false,"pushed_at":"2022-12-22T11:58:48.000Z","size":883,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T11:17:02.313Z","etag":null,"topics":["analytics","analytics-webservice","cassandra","hit","javascript","nodejs","webservice"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanweal.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":null,"support":null}},"created_at":"2018-11-19T04:28:13.000Z","updated_at":"2020-12-14T13:22:24.000Z","dependencies_parsed_at":"2023-01-30T08:15:26.320Z","dependency_job_id":null,"html_url":"https://github.com/ryanweal/hits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanweal%2Fhits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanweal%2Fhits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanweal%2Fhits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanweal%2Fhits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanweal","download_url":"https://codeload.github.com/ryanweal/hits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243268079,"owners_count":20263803,"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":["analytics","analytics-webservice","cassandra","hit","javascript","nodejs","webservice"],"created_at":"2024-11-18T08:19:56.198Z","updated_at":"2025-12-25T15:39:05.854Z","avatar_url":"https://github.com/ryanweal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hits\n\nThis is an analytics webservice based on express-cassandra-starter which you can find here: https://github.com/ryanweal/express-cassandra-starter\n\nThe package exposes two endpoints:\n  - the example \"auth\" endpoints (login, register)\n  - a \"/hit\" endpoint to log a 'url' which has been POSTed\n\n## Install Steps\n\n0. Clone this repo\n\n    Run `npm install` to fetch the packages needed to run this package. Install Node.js if you do not have npm.\n\n1. Populate your environment variables and/or create a variables.env file in this folder:\n\n```\nCASSANDRA_USER='username'\nCASSANDRA_PASS='password'\nCASSANDRA_CONTACT_POINTS=\"127.0.0.3,127.0.0.4,127.0.0.5\"\nCASSANDRA_KEYSPACE='mykeyspace'\nSECRET='randomwords' # changing this will expire all issued tokens\n```\n\n2. Remember to create a keyspace, `mykeyspace`, to start:\n\n    create keyspace mykeyspace with replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 } ;\n\n3. Then run `npm run start`.\n\n\n## License\n\nCopyright 2018, Ryan Weal\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanweal%2Fhits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanweal%2Fhits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanweal%2Fhits/lists"}