The project simulates features, purchases, and deliveries
Before you begin, you'll need to have Go installed on your computer. You can download Go from the official Go website.
git clone https://github.com/tungdevpro/coffee_api.git
PORT=3002
HASH_SALT=your_hash_salt
DB_CONNECTION_URL="your_db_url"
SECRET_KEY=your_secret_key
S3_BUCKET_NAME="your_bucket_name"
S3_REGION="ap-southeast-1"
S3_API_KEY="your_api_key"
s3_SECRET_KEY="your_s3_secret_key"
S3_DOMAIN="your_domain_s3"
docker compose up -d
go run cmd/main.go
Manage user tokens
Push notification to user (Send notifications to all devices where the user is logged in)
1: Success -1: Have a error -2: Not verified your account