Welcome to the BakingUp Backend Repository!
Programming Languages:
- Go
Development Tools:
- Backend API: Go Fiber
- Database: PostgreSQL
- Database ORM: Prisma
- 3rd Party APIs: Gemini AI
- Container Management: Docker
- Hosting: Azure Virtual Machine
- DNS: Cloudflare
- CI/CD: GitHub Actions
-
For viewers on GitHub:
git clone https://github.com/BakingUp/BakingUp-Backend.git
-
For viewers in CS GitLab:
git clone https://csgit.sit.kmutt.ac.th/csc498-499-bakingup/bakingup-backend.git
-
Navigate to the root directory and run the following command:
go run github.com/steebchen/prisma-client-go generate
-
Create a .env file in the root directory of the project and add the following environment variables:
HTTP_PORT= DATABASE_URL=postgresql://username:password@localhost:5432/yourdatabase HTTP_ALLOWED_ORIGINS=
-
Note: Replace
username
,password
, andyourdatabase
with your actual PostgreSQL credentials.
-
Run the following command to start the server:
go run cmd/http/main.go
For more information, please refer to the "Wiki" section at
- For viewers in GitHub: https://github.com/BakingUp/BakingUp-Backend/wiki.
- For viewers in CS GitLab: https://csgit.sit.kmutt.ac.th/csc498-499-bakingup/bakingup-backend/-/wikis/.