Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
toannd96 committed Jan 6, 2024
1 parent 7d3c0e9 commit 878d9f9
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 133 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
URI=mongodb+srv://username:password@analytics-cluster.dap26.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
NAME=myFirstDatabase
URI=mongodb+srv://theodoiweb:pw@cluster1.1cixlr1.mongodb.net/?retryWrites=true&w=majority
NAME=theodoiweb-v1
SESSION_COLLECTION=session
USER_COLLECTION=user
WEBSITE_COLLECTION=website

REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_URL=

PORT=3000
APP_URL=http://localhost:3000
Expand Down
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

60 changes: 33 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,60 @@ module analytics-api
go 1.18

require (
github.com/gin-gonic/gin v1.8.1
github.com/joho/godotenv v1.4.0
github.com/mileusna/useragent v1.1.0
github.com/oschwald/geoip2-golang v1.7.0
github.com/sirupsen/logrus v1.8.1
go.mongodb.org/mongo-driver v1.9.1
github.com/gin-gonic/gin v1.9.1
github.com/joho/godotenv v1.5.1
github.com/mileusna/useragent v1.3.4
github.com/oschwald/geoip2-golang v1.9.0
github.com/sirupsen/logrus v1.9.3
go.mongodb.org/mongo-driver v1.13.1
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22
)

require (
github.com/goccy/go-json v0.9.8 // indirect
github.com/bytedance/sonic v1.10.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/myesui/uuid v1.0.0 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/gomega v1.19.0 // indirect
github.com/pelletier/go-toml/v2 v2.0.2 // indirect
github.com/stretchr/testify v1.8.0 // indirect
golang.org/x/net v0.0.0-20220630215102-69896b714898 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
golang.org/x/arch v0.7.0 // indirect
golang.org/x/net v0.19.0 // indirect
gopkg.in/stretchr/testify.v1 v1.2.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

require (
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-playground/validator/v10 v10.11.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.16.0 // indirect
github.com/go-redis/redis v6.15.9+incompatible
github.com/go-stack/stack v1.8.1 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/golang/snappy v0.0.4 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.7 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/oschwald/maxminddb-golang v1.9.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/oschwald/maxminddb-golang v1.12.0 // indirect
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce
github.com/twinj/uuid v1.0.0
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
golang.org/x/crypto v0.17.0
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 878d9f9

Please sign in to comment.