Skip to content

haotianw177/go-budget-sharing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go budget sharing app

Go real time budget sharing app for CSE 40842. this full-stack web app is a real-time budget-sharing platform that allows users to track expenses, add new expenses, and visualize spending by category using a pie chart, with the ability to monitor and manage a shared budget collaboratively.

the backend is build in Go to handle HTTP requests, manage WebSocket connections, and serve real-time budget updates for users. Javascript file manages client-side functionality, such as real-time communication with the Go backend via WebSockets, updating the expenses list, and to dynamically generating the pie chart using Chart.js.

the app is deployed through Railway. you can see a live version here.

1. install Go

to run the app, you'll need to have Go installed.

after installation, open your terminal check for Go version to see if it's successfully installed

go version

2. clone the repository

to get the source code for the app, clone the repository from GitHub:

  • clone the repo: open you terminal and run:

    git clone https://github.com/haotianw177/go-budget-sharing-app
  • navigate to the project directory:

    cd go-budget-sharing-app

3. install dependencies

If your app has external dependencies, you'll need to download them. Run the following command in the terminal:

go mod tidy

4. run the app

open a terminal and type:

go run main.go

5. access the app locally

open a browser window and type:

http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published