Skip to content

Alexeyzem/projectWithNats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

projectWithNats

for start this project

  1. start nats-streaming in docker: docker run --name nats --rm -p port:port -p port:port nats --http_port
  2. start postgresql in docker: docker run --name postgresql -p port:port -e POSTGRES_USER= -e POSTGRES_PASSWORD= -e POSTGRES_DB= -d postgres:13.3
  3. Create table with code from data.sql
  4. located in the root directory of the project start in terminal: go run cmd/main.go
  5. P.S. for testing in real time you can start nats-script. It send some test data to nats-streaming server. Script in nats_script.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published