Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parlandin/visitscount
Contador de visitas em svg para se adicionado em qualquer lugar que aceite imagens
https://github.com/parlandin/visitscount
javascript nodejs severless
Last synced: 14 days ago
JSON representation
Contador de visitas em svg para se adicionado em qualquer lugar que aceite imagens
- Host: GitHub
- URL: https://github.com/parlandin/visitscount
- Owner: parlandin
- License: mit
- Created: 2022-08-14T16:48:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T18:23:28.000Z (over 2 years ago)
- Last Synced: 2024-11-04T06:02:07.951Z (2 months ago)
- Topics: javascript, nodejs, severless
- Language: JavaScript
- Homepage: https://viewscount.vercel.app/
- Size: 278 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Counter
## Example
![:repo](https://viewscount.vercel.app//get/@repo)
#### Deploying on your own server
```shell
$ git clone https://github.com/Gu-Parlandim/visitsCount
$ cd visitsCount
$ yarn install$ yarn start
```to use mongodb, you need to specify the environment variable `DB_URL`
```shell
# eg:
export DB_URL=mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count
``````
DB_URL="mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count"
```## Credits
- [Moe-counter
](https://github.com/journey-ad/Moe-counter)### this code is based in moe-counter