Giter Site home page Giter Site logo

ramamimu / vue-postgreesql-chartjs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.19 MB

Techs: vue + postgree-sql for a purpose to fulfill final project basis data management on Institute Technology Sepuluh Nopember Surabaya

Home Page: https://vue-postgreesql-chartjs.vercel.app/

License: MIT License

HTML 0.66% JavaScript 4.44% Vue 83.82% CSS 0.75% SCSS 0.11% PLpgSQL 10.03% Makefile 0.19%

vue-postgreesql-chartjs's Introduction

Configuration Environment

Server

file locate in ./server/.env . here is the example configuration for server

# SERVER
PORT=3030

# DATABASE
PGUSER=postgres
PGHOST=localhost
PGPASSWORD=postgres
PGDATABASE=postgres
PGPORT=5434

User Interface

example configuration for user interface. file locate in .env

VUE_APP_TARGET_SERVER=http://localhost:3030

how to prepare the env

copy env like the previous section and run these commands. after your setup finish, the program ready to run.

make startdb
make init

you should have installed docker and docker compose on your PC

how to run

run those both commands on different terminals

user interface

npm run serve

in some cases, need to install or run using yarn

server

cd server
npm run server

how to build

npm run build

SQL query

you can check SQL QUERY on ./query.sql

Link Demonstration

link demo was here

Website Views

alt

API List

pengunjungBulanan: {
  bulan: number,
  banyak: string
}
peminjam_jurusan: {
  jurusan: string,
  jumlah_peminjam: int
}
peminjaman_setiap_bulan: {
  bulan: string,
  coalesce: int
}
tabel_peminjaman: {
  denda: int,
  id_anggota: int,
  id_buku: int,
  id_peminjaman: int,
  id_petugas: int,
  tanggal_kembali: timestamp,
  tanggal_pengembalian: timestamp,
  tanggal_pinjam: timestamp
}

Big thanks to @sahrullahh has provided starter project i used on current project

Windzo starter project

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.