Skip to content

This is the backend (bff) for a coding challenge that I've made for Datascore

Notifications You must be signed in to change notification settings

Esequiel378/unsplashed-bff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unsplashed - BFF

Deploying the App

Click this button to deploy the app to the DigitalOcean App Platform. If you are not logged in, you will be prompted to log in with your DigitalOcean account.

Deploy to DO

Config

In order to run the project, you will need set a few env variables inside of a .env file on the root directory

UNSPLASH_ACCESS_KEY=your-access-key
# Coma separated urls (* means all)
ALLOW_ORIGINS="*"

Usage

Install go modules

go mod download

run the project with

go run main.go

Or, if you prefer docker

docker-compose up

then you can visit

http://localhost/api/unsplash/photos
http://localhost/api/unsplash/search/photos?query=london

About

This is the backend (bff) for a coding challenge that I've made for Datascore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published