Skip to content

gmsvalente/gravie

Repository files navigation

Gravie Challenge

This is the Gravie Challenge Test

A simple(?) app based on giantbomb site.

Stack needed to install

  • npm
  • Clojure
  • Clojurescript

Install

To get the app clone the git repository

git clone https://github.com/gmsvalente/gravie.git

On the root of the repository run

npm install
clojure -M:shadow:shadow-release

It will install the npm dependencies and build the main.js from shadow-cljs

To run the application you need to specify a server port or it will use port 8080 You need also an api-key from giantbomb.com/api

export PORT=<port number>
export GIANTBOMB_API=<your api-key>
clojure -M:server

Using docker

You can create a docker image. You need docker installed local Clone the repository and on the root directory

docker build -t <build-name> .

Where <build-name> is the name of the image created then run it in a container

docker run --name <container-name> -e "PORT=<port>" -e "GIANTBOMB_API=<api-key>" -p <local-port>:<port> <build-name>

Things I wish i have done

  • TESTS! TDD could really improve the production
  • Used a database like postgres or even datomic or XTDB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages