Skip to content

Creating microservice for users persistence of and access at platform

Notifications You must be signed in to change notification settings

luizmoitinho/service-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Started

  1. Clone the project in home/src/github.com/ and open it in the terminal

  2. Up docker

docker-compose up -d

Check if it was successful

docker ps
  1. install dependencies
go mod init
go mod tidy
  1. Run the file server.go with and test user persistence:
go run framework/cmd/server/server.go 

Response:

&{{11fe48f3-f4e7-4acc-9647-5875500b19ca 2021-02-25 00:35:12.930188684 -0300 -03 m=+0.484368712 2021-02-25 00:35:12.93021402 -0300 -03 m=+0.484393987 0001-01-01 00:00:00 +0000 UTC} 
Luiz Carlos Moitinho luizcarlos_costam@hotmail.com $2a$10$4bGuP.MpGCiIh8lfLZgmJ.kwTNl08V2zta2X0jOZq3hqjJ5CXXbxO d6af0152-c753-4532-8944-091317411d66}

About

Creating microservice for users persistence of and access at platform

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published