Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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