GithubHelp home page GithubHelp logo

ratanasoth / go-angular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shpota/go-angular

0.0 1.0 0.0 3.64 MB

A simple CRUD application written with Go and Angular

License: Apache License 2.0

Go 33.54% JavaScript 5.65% TypeScript 41.87% HTML 14.82% Dockerfile 2.26% SCSS 1.87%

go-angular's Introduction

Build Status

A simple web application written with Go and Angular

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 8 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

go-angular's People

Contributors

shpota avatar dependabot[bot] avatar nikoksr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.