fraidev / todo-go

Simple Crud made with Go. Using go-pg and chi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo-go

Simple Crud made with Go. Using go-pg and chi.

Local

cp sample.local.env .env.local          # Create .env file
docker-compose up -d      	        # Run Dependencies if needed
./scripts/migrate up      	        # Apply database migrations

After that, you can choose:

  • Config your IDE to read .env.local when running or debugging.
  • Just load .env.local and execute go run ..

Docker

cp sample.docker.env .env       	# Create .env file
docker-compose up -d      	        # Run Dependencies
./scripts/migrate up      	        # Apply database migrations
./scripts/build      		        # Build service image
./scripts/run       		        # Run Service

About

Simple Crud made with Go. Using go-pg and chi

License:MIT License


Languages

Language:Go 77.0%Language:Shell 17.4%Language:Dockerfile 5.6%