1119007 – Timothy Ray
1119023 – Jedediah Fanuel
1119033 – Fedly Septian
1119038 – Elangel Neilea Shaday
1119045 – Rafael Christo Gracia
- Go Language
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software
- MariaDB
The MariaDB we use is the one that comes bundled with the XAMPP app.
-
Gorilla/mux
Package gorilla/mux implements a request router and dispatcher for matching incoming requests to their respective handler. -
Gorm.io
The fantastic ORM library for Golang. -
go-gorm/mysql
A GORM MySQL Driver.
- Vue.js
Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web
- Vuexy
ArchitectUI is one of the most popular admin dashboard templates ever released. It is used by thousands of developers to create webapps and SaaS totaling 100 million monthly active users.
- Localhost
We are deploying this website on localhost as an assignment for an Advanced Software Engineering course.
- Domain Driven Design
- Controller : handle REST API JSON
- Service : business logic
- Repository : handle database CRUD
cd backend
go mod tidy
go run main.go
cd frontend
// Pastikan ada di direktori frontend
npm install
npm rebuild node-sass
// Pastikan ada di direktori frontend
- npm run serve
git config --global user.name "Adi Budi "
git config --global user.email "[email protected]"
* Cara diatas untuk mengatur disemua repositori, untuk spesifik hilangkan "--global"
git clone https://github.com/elangelshaday/Foodut.git
git add .
git commit -m "Your messages"
git push -u origin main
Jika terjadi error seperti ini :
To https://github.com/elangelshaday/Foodut.git
! [rejected] main -> main (non-fast-forward)
error: failed to push some refs to 'https://github.com/elangelshaday/Foodut.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Maka selesaikan dengan :
git pull origin main
git push -u origin main
Jika masih terjadi error ketika pull origin main : Maka cari file yang konflik kemudian edit pilih yang bermasalah Kemudian jalankan
git add .
git commit -m "Merge to ..isi command..."
git push -u origin main
git pull origin main
git rm file --> file is your file name
--> and then, use PUSH
git config --list
git log
to find out the commit you want to revertgit push origin +7f6d03:master
while7f6d03
is the commit before the wrongly pushed commit. + was for force push
git merge --no-commit --no-ff <local-branch>
git reset HEAD
- To see all diff:
git diff