# For interacting with Google Cloud Storage services
go get cloud.google.com/go/[email protected]
# A robust library for sending emails
go get github.com/go-mail/[email protected]
# For validating structs and fields against certain criteria
go get github.com/go-playground/validator/[email protected]
# Provides methods for creating and validating JSON Web Tokens (JWT)
go get github.com/golang-jwt/jwt/[email protected]
# Used for generating, parsing, and inspecting UUIDs
go get github.com/google/[email protected]
# Loads environment variables from a `.env` file
go get github.com/joho/[email protected]
# A PDF document generator
go get github.com/jung-kurt/[email protected]
# A high performance, extensible, minimalist Go web framework
go get github.com/labstack/echo/[email protected]
# The official Go SDK for interacting with Razorpay payment gateway
go get github.com/razorpay/[email protected]
# A cron library for scheduling jobs to run at fixed times or intervals
go get github.com/robfig/cron/[email protected]
# The official MongoDB driver for the Go language
go get go.mongodb.org/[email protected]
# Provides additional cryptography packages
go get golang.org/x/[email protected]
# The Go implementation of gRPC, a high performance, open-source universal RPC framework
go get google.golang.org/[email protected]
go run main.go ./env/dev/.env.auth
go run main.go ./env/dev/.env.nft
go run main.go ./env/dev/.env.user
Auth
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
modules/auth/authPb/authPb.proto
NFT
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
modules/nft/nftPb/nftPb.proto
User
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
modules/user/userPb/userPb.proto
- Google Cloud Platform account
- Python 3.8 to 3.12 (for GCP CLI installation)
- Go environment
Ensure you have an account on Google Cloud Platform. If not, sign up at Google Cloud.
- After logging in, navigate to your GCP Dashboard.
- Click New Project and follow the prompts to create your project.
- Go to the Cloud Storage section in your GCP Console.
- Click Create bucket and follow the steps:
- Name your bucket: Follow GCP naming conventions.
- Choose where to store your data: Select Mumbai for the location.
- Configure your storage class and access control: Use Fine-grained for access control.
- Set public access prevention: Initially set to Enforced.
Later, you can modify the bucket settings to allow public access to specific objects as needed.
Check your Python version:
python3 -V