Giter Club home page Giter Club logo

app-go-vue-frontend's Introduction

go-vue-app-frontend

This is the frontend of a simple order application whose backend is built on Go, frontend is built on VueJs and database is postgres (from Heroku dyno).

The backend uses fiber (for GET api), pq (for db connection), gorm (for modeling) to create api. It runs a comprehensive query which joins tables and returns data grouped by each order with its customer and total amount data

The frontend uses vue-good-table with sorting and searching functionality to render the data

It has pagination implemented, can switch between two pages.

It has order names, customer names, customer company names, total amount and total earned amount as per delivered quantities

We can also sort by order date, which is in AUS/Melbourne timezone (handled on postgres level)

We can also search by entering order name

Repos

Frontend: https://github.com/ows-ali/app-go-vue-frontend/

Backend: https://github.com/ows-ali/app-go-vue-pg-backend

Setup

You can clone the repos for backend and frontend.

The backend is already connected with postgres on cloud (via Heroku dyno) but if needed the database can be setup locally.

(Optional) Run the db queries given in populate_tables.sql given at the root of backend repo. It has queries to create tables as well as populate them afterwards.

For backend run:

go run github.com/cosmtrek/air

And for frontend, run

npm i
npm run dev

Server should run on port 3000

App Screenshot

app screenshot

app-go-vue-frontend's People

Contributors

ows-ali avatar zuizim avatar

Watchers

 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.