A simple CRUD application written with Go and Angular
APACHE-2.0 License
⚠ Disclaimer
I created this project a while ago, and it might need to be updated. Check out Goxygen , a tool for creating modern web projects with Go and Angular, React, or Vue.
I implemented this application while evaluating Go. On the back end side, I used gorilla/mux for routing, Gorm as an ORM engine and google/uuid for UUID generation. On the front end side, I used Angular and Angular Material.
You need to have Docker installed in order to build and run the application. No additional tools required.
docker network create students-net
docker run \
-e POSTGRES_USER=go \
-e POSTGRES_PASSWORD=your-strong-pass \
-e POSTGRES_DB=go \
--name students-db \
--net=students-net \
postgres:11.5
docker build -t students-app .
docker run -p 8080:8080 \
-e DB_PASS='your-strong-pass' \
--net=students-net students-app
Access the application via http://localhost:8080