Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

standardloop/genre-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genre-tree

Created a WebApp to visualize music genres and subgenres as a tree structure using React.js and Go. The WebApp supports adding new genres to the tree and deleting genres or subgenres.

How it looks

alt text

Notes

If you ever receive a segfault on startup, make sure to update the sys module.

$ go get -u golang.org/x/sys
$ go mod tidy

Fixing npm updates

$ npm audit fix

How to run

Easiest with two terminals (one for frontend and one for backend)

$ cd backend
$ go mod tidy
$ rm test.db
$ go run main.go
$ cd ../frontend
$ npm install
$ npm run start

Shortcomings

I'm not a fan of frontend development, so the frontend is, well, quite simple. The sizing is weird and the buttons are in an awkward spot. That being said, it was fun to play with React and Typescript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published