Skip to content

Repository files navigation

library_api web-2

START DB and API IN BACKGROUND

docker-compose up -d

STOP DB and API

docker-compose down

START API

go mod tidy  
cd cmd/ 
go run main.go 

Build project

docker build -f Dockerfile -t library_api:1.0 .
docker run -p 8080:8080 library_api:1.0

test 1

TestAddBook

test 2

TestAddBookSQLFail

test 3

TestAddBookInvalidData

test 4

TestAddBookDuplicate

test 5

TestUpdateBook

test 6

TestUpdateBookFail

test 7

TestDeleteBook

test 8

TestDeleteBookFail

test 9

TestDBConnection

test 10

TestDBConnectionFail

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages