https://github.com/cosmo-frameworks/visitorbadge
A badge generator service to count visitors of your markdown file, made in node
https://github.com/cosmo-frameworks/visitorbadge
counter do docker docker-compose javascript nodejs
Last synced: about 1 month ago
JSON representation
A badge generator service to count visitors of your markdown file, made in node
- Host: GitHub
- URL: https://github.com/cosmo-frameworks/visitorbadge
- Owner: cosmo-frameworks
- License: gpl-3.0
- Created: 2024-09-25T23:40:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-31T03:50:01.000Z (4 months ago)
- Last Synced: 2026-01-31T18:45:57.728Z (4 months ago)
- Topics: counter, do, docker, docker-compose, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visitor Badge
Visitor badge is a badge generator service to count visitors of your markdown file, made in node.
})
## Example Use
Default use:
```

```
You can put it in a img tag also:
```
```
**NOTE: If you see that the image is not updated when visiting the page, it may be that you have cache problems with the browser, for this you can do the following**
```
```
Or
```
})
```
## How to deploy in local
You have to create a .env file with the following content.
```
MONGO_URI=mongodb://root:123456@localhost:7017
MONGODB_USER=root
MONGODB_PASSWORD=123456
MONGODB_DATABASE=bbdd
MONGODB_LOCAL_PORT=7017
MONGODB_DOCKER_PORT=27017
```
You can change the content of the variables to your liking, but make sure that they match the names in the docker-compose.yml file, and that the values ββin the connection string are correct with what you have put in the mongo variables.
Once this is set up, you just need to do a ``docker-compose up -d`` and a ``npm i`` ``npm start`` to run the project.