Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-clone

Pre-requisites

  • Docker compose

Development tools

# templ - install if modifying html components
go install github.com/a-h/templ/cmd/templ@latest
# migrate - install if creating/applying migrations
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest

Useful commands

cd backend

# Create migration
./bin/create-migration <name_of_the_migration>

# Apply migrations (note: happens automatically when docker-compose starts)
./bin/migrate up
# or ./bin/migrate down

# SQL shell
docker exec -it yt-postgres psql

# Start watching for template changes
templ generate --watch

About

Youtube clone

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages