# For interacting with Google Cloud Storage services
go get cloud.google.com/go/storage@v1.40.0
# A robust library for sending emails
go get github.com/go-mail/mail@v2.3.1
# For validating structs and fields against certain criteria
go get github.com/go-playground/validator/v10@v10.19.0
# Provides methods for creating and validating JSON Web Tokens (JWT)
go get github.com/golang-jwt/jwt/v5@v5.2.1
# Used for generating, parsing, and inspecting UUIDs
go get github.com/google/uuid@v1.6.0
# Loads environment variables from a `.env` file
go get github.com/joho/godotenv@v1.5.1
# A PDF document generator
go get github.com/jung-kurt/gofpdf@v1.16.2
# A high performance, extensible, minimalist Go web framework
go get github.com/labstack/echo/v4@v4.11.4
# The official Go SDK for interacting with Razorpay payment gateway
go get github.com/razorpay/razorpay-go@v1.3.2
# A cron library for scheduling jobs to run at fixed times or intervals
go get github.com/robfig/cron/v3@v3.0.1
# The official MongoDB driver for the Go language
go get go.mongodb.org/mongo-driver@v1.14.0
# Provides additional cryptography packages
go get golang.org/x/crypto@v0.21.0
# The Go implementation of gRPC, a high performance, open-source universal RPC framework
go get google.golang.org/grpc@v1.62.1
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