Skip to content

rhodeon/moviescreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOVIESCREEN

An API service for fetching movie data.

The movie data are not meant to be accurate and were generated with mockaroo.

Codebase shows a demonstration of domain-driven design in Go.

Usage

Before running or building the, create a dotenv file in the root directory of the project:

touch .env

The dotenv file is used to load environment variables into the build and have the form:

VARIABLE_NAME=value

Alternatively, the required values can be passed in via flags (though the dotenv file must still exist, even if empty).

Available flags and their alternative dotenv variable names can be gotten by running:

make help/api

Note: The following flags (or their dotenv counterparts) are required for the build to run:

  • -db-dsn
  • -smtp-host
  • -smtp-user

  • Run make help to view the available rules for running, building and general operations.

    About

    An API service for fetching movie details.

    Resources

    Stars

    Watchers

    Forks

    Packages

    No packages published