Giter VIP home page Giter VIP logo

go_hacks_resc_mgmnt_app's Introduction

Resource-Management-App

h25

Development

In order to execute the program, you need to have psql installed in your system:

Using Linux env:

sudo apt install postgresql -> installs the psql

sudo -u postgres psql -> sudo into user name as postgress

psql --version -> checks version

export RESC_DB_DSN='postgres://USER_NAME:YOUR_PWD@localhost/DB_NAME' psql $RESC_DB_DSN

psql --host=localhost --dbname=DB_NAME --username=USER_NAME

Then exec into that and create the table as below

CREATE TABLE IF NOT EXISTS resources (
  id SERIAL PRIMARY KEY NOT NULL,
  title varchar(255) NOT NULL,
  category varchar(32) NOT NULL,
  status varchar(15) NOT NULL,
  types varchar(10) NOT NULL,
  content text,
  file_link varchar(255) DEFAULT NULL,
  created_by int NOT NULL,
  created_at bigint NOT NULL,
  updated_by int NOT NULL,
  updated_at bigint NOT NULL
);

Steps to run the source code:

go mod tidy -> Download the required dependencies

go run main.go -> Runs the App

๐Ÿง  Inspiration

Inspired by CERN Collaboration tracks and generic functions

๐Ÿ’ป What it does

Our API enables you to make use of managing and accessing your resources for storing PDF, TXT files and images [Blogs]

๐Ÿ”จ How we built it

Built around Gin-Gonic framework

๐Ÿƒ๐Ÿป Challenges we ran into

How to configure our service api with integrating generic function

๐Ÿ“Œ Accomplishments that we're proud of

API configuration and Generic function and types

๐Ÿ“– What we learned

Go Generic function and its use of any type

What's next for Resource Management APP

To integrate with UI and setup kubernetes cluster

ScreenShots

h22

h23

h24

go_hacks_resc_mgmnt_app's People

Contributors

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