Post

KayPhos Web App

Web application tracking potassium and phosphorus intake for kidney patients.

KayPhos Web App

Overview

View the Git repository.

Login

Table of Contents

Installation

Instructions for OSX

  1. Clone the repo:
    1
    
    git clone https://github.com/kimsh02/kay-phos.git
    
  2. Navigate to the project directory:
    1
    
    cd kay-phos
    
  3. Make sure you have Go installed:
    1
    
    brew install go
    

    Instructions for Windows

TODO

Usage

To start the server run the commands below in the root project directory.

1
go mod tidy
1
go run cmd/server/main.go

Visit http://localhost:8080/testpage to view the web application.

Additionaly, you can natively compile the web application by running the command below.

1
go build cmd/server/main.go

To run the executable, do this command.

1
./main

Contributing

Guidelines for contributing to the project:

  • Clone the repo
  • Create a new branch (git checkout -b my-branch)
  • Submit a pull request
This post is licensed under CC BY 4.0 by the author.