Giter Club home page Giter Club logo

sneat-go-backend's Introduction

sneat-go

Go CI Go Report Card

Go lang backend for sneat apps:

3-d party dependencies

  • AWS - to send emails

Running GAE app

To run Google AppEngine app locally execute:

> cd sneatgaeapp
> go run main.go 

Running with emulators

If you want Firebase SDKs to use Firebase emulators you would need to set next local variables:

export GCLOUD_PROJECT="demo-sneat"
export FIREBASE_AUTH_EMULATOR_HOST="localhost:9099"
export FIRESTORE_EMULATOR_HOST="localhost:8080"

Set path to Google Application Credentials files. For example:

export GOOGLE_APPLICATION_CREDENTIALS="~/projects/sneat/private_keys/sneat-54237a268b5a.json"

Running with Google Firebase emulators:

At the time of writing Firebase Go Admin SDK does not support `Authentication` emulator. It is planned to be supported in the future.

See Admin SDK availability to check current status.

Firebase Admin Go SDK is supposed to support Authentication emulator. It has been merged with PR # 419 on 21st April 2021 with commit # 27ac52.

So to use Firebase Authentication & Firestore emulators run as:

cd firestore
firebase emulators:start --only auth,firestore --project sneat-team

To run with real authentication but only emulated firestore execute:

cd firestore
firebase emulators:start --only firestore --project sneat-team

Note**:

It looks like a bug that Admin SDK is not able to use "demo-*" project ID. We have to use a real project ID and provide an environment variable GOOGLE_APPLICATION_CREDENTIALS. That's wrong and should not be used for scaled development.

Google emulators documentation

Read more about connecting an app to:

Testing chatbots locally

There is a dedicated section regards how to test Telegram bots locally in src/bots.

sneat-go-backend's People

Contributors

trakhimenok avatar renovate[bot] avatar xspace-solution avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

codeninja-pro

sneat-go-backend's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Preset is invalid JSON (github>sneat-co/sneat-renovate-go)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Branch Automerge

These updates await pending status checks before automerging. Click on a checkbox to abort the branch automerge, and create a PR instead.

  • fix(deps): update 3d-parties non major deps (cloud.google.com/go/firestore, github.com/bots-go-framework/bots-fw)

Detected dependencies

github-actions
.github/workflows/ci.yml
action.yml
  • actions/setup-go v5
gomod
go.mod
  • go 1.22.3
  • firebase.google.com/go/v4 v4.14.1
  • github.com/bots-go-framework/bots-api-telegram v0.7.1
  • github.com/bots-go-framework/bots-fw v0.40.0
  • github.com/bots-go-framework/bots-fw-store v0.8.2
  • github.com/bots-go-framework/bots-fw-telegram v0.13.2
  • github.com/bots-go-framework/bots-fw-telegram-models v0.3.5
  • github.com/bots-go-framework/bots-fw-telegram-webapp v0.3.1
  • github.com/bots-go-framework/bots-go-core v0.0.3
  • github.com/bots-go-framework/bots-host-gae v0.5.16
  • github.com/crediterra/go-interest v0.0.0-20180510115340-54da66993b85@54da66993b85
  • github.com/crediterra/money v0.3.0
  • github.com/dal-go/dalgo v0.13.2
  • github.com/dal-go/mocks4dalgo v0.1.23
  • github.com/golang-jwt/jwt/v5 v5.2.1
  • github.com/golang/mock v1.6.0
  • github.com/gosimple/slug v1.14.0
  • github.com/julienschmidt/httprouter v1.3.0
  • github.com/olebedev/when v1.0.0
  • github.com/pkg/profile v1.7.0
  • github.com/pquerna/ffjson v0.0.0-20190930134022-aa0246cd15f7@aa0246cd15f7
  • github.com/sanity-io/litter v1.5.5
  • github.com/sendgrid/sendgrid-go v3.16.0+incompatible
  • github.com/shiyanhui/hero v0.0.2
  • github.com/sneat-co/debtstracker-translations v0.2.0
  • github.com/sneat-co/sneat-go-core v0.34.1
  • github.com/sneat-co/sneat-go-firebase v0.5.14
  • github.com/stretchr/testify v1.9.0
  • github.com/strongo/app-host-gae v0.1.36
  • github.com/strongo/decimal v0.1.1
  • github.com/strongo/delaying v0.0.1
  • github.com/strongo/facebook v1.8.1
  • github.com/strongo/gamp v0.0.1
  • github.com/strongo/gotwilio v0.0.0-20160123000810-f024bbefe80f@f024bbefe80f
  • github.com/strongo/i18n v0.6.1
  • github.com/strongo/logus v0.2.0
  • github.com/strongo/random v0.0.1
  • github.com/strongo/slice v0.3.0
  • github.com/strongo/strongoapp v0.25.0
  • github.com/strongo/validation v0.0.7
  • github.com/yaa110/go-persian-calendar v1.2.1
  • golang.org/x/crypto v0.27.0
  • golang.org/x/net v0.29.0
  • google.golang.org/appengine/v2 v2.0.6
src/sneatgae/gfuncs/go.mod
  • go 1.18
  • cloud.google.com/go/firestore v1.16.0
html
src/modules/debtus/gae_root/templates/_base.html
  • popper.js 2.11.8@sha512-TPh2Oxlg1zp+kz3nFA0C5vVC6leG/6mm1z9+mA81MI5eaUVqasPLO8Cuk4gMF4gUfP5etR73rgU/8PNMsSesoQ==
  • tether 2.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.