8000 GitHub - Tianhao-Jia/go-angular: A simple CRUD application written with Go and Angular
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tianhao-Jia/go-angular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple web application written with Go and Angular

⚠ 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.

Showcase

System requirements

You need to have Docker installed in order to build and run the application. No additional tools required.

How to build and run

  1. Create a Docker network:
    docker network create students-net
  2. Start the DB:
    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
  3. Build the application image:
    docker build -t students-app .
  4. Start the application container:
    docker run -p 8080:8080 \
      -e DB_PASS='your-strong-pass' \
      --net=students-net students-app

Access the application via http://localhost:8080

About

A simple CRUD application written with Go and Angular

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 41.9%
  • Go 33.5%
  • HTML 14.8%
  • JavaScript 5.6%
  • Dockerfile 2.3%
  • SCSS 1.9%
0