Skip to content

JuanJoCasamitjana/inspiro_quotes_web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quote Poster Generator

This is a simple web application written in Go that generates posters for quotes. Users can input their favorite quotes and customize the appearance of the poster.

Features

  • Generate Posters: Select any quote from the database and generate a poster using images provided by Unsplash.

Requirements

  • Go 1.21.6 or higher
  • Dependencies listed in go.mod

Installation

  1. Clone this repository:
git clone https://github.com/JuanJoCasamitjana/inspiro_quotes_web.git
  1. Navigate to project directory
cd inspiro_quotes_web
  1. Initialize the database
go env -w CGO_ENABLED=1
go run .\cmd\utils\initialize_db.go -action init
go env -w CGO_ENABLED=0
  1. Run the application
go env -w CGO_ENABLED=1
go run .\cmd\utils\main.go
go env -w CGO_ENABLED=0

The application runs on port ":8080" and requires an Unsplash api key to fetch the images. The api keys are accesed through environment variables, but you can set your own ".env" for them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published