Movie API using OMDB
- Copy and paste
.env.sampleto.env. Set your database credential - Dont forget to set your OMDB Key
- Import the
init/01.sqlin your database to create the table - Run
go run main.go
- Run your docker desktop
- Run
make compose_up. Docker will automatically run the app and the database. - Run
make compose_downto stop all.
- Run
make testto run the unit test ormake testcoverageto run the unit test and displaying the coverage percentage.