Categorygithub.com/chamod-github/PCShowdown
repositorypackage
0.0.0-20220403002203-5e90069b9a12
Repository: https://github.com/chamod-github/pcshowdown.git
Documentation: pkg.go.dev

# README

PCShowdown

A website that lets users add, edit, and remove PCs.
Users can share links to PCs with others or browse PCs.
Uses a RESTful API to retrieve and accept data.

Technologies used

Backend

Frontend

Screenshots

Screenshot of the app

Screenshot of the app

Screenshot of the app

Usage

Prerequisites

  1. Install the latest version of NPM

    npm install npm@latest -g
    
  2. Install the latest version of Golang

Installation

  1. Install NPM packages

    npm install
    
  2. Install Goose

    go get -u github.com/pressly/goose/cmd/goose
    

Initialization

  1. Go to migrations directory

    cd migrations
    
  2. Initialize the database

    [goose directory] sqlite3 ../pcshowdown.db up
    
  3. Go back to main directory

    cd ..
    
  4. Run the go program

    go run .
    
  5. Visit http://localhost:1337 from your web browser.

License

GNU GPLv3