Git Product home page Git Product logo

word-cloud-generator's Introduction

Go Test CircleCI

word-cloud-generator

It's a golang web app that takes a block of text and turns it into a word cloud. Star this repo if you like the class!

Notice

This project is a a sample app for a class on Continuous Delivery at LinkedIn Learning. You can see the class as well as other classes I have available at https://www.linkedin.com/learning/instructors/james-wickett. Thanks!

Prerequisites

  1. Install go - https://golang.org/doc/install (Start learning go with the tour - http://tour.golang.org/)
  2. Set $GOPATH export GOPATH="${HOME}/go"
  3. Set $PATH export PATH=$PATH:$(go env GOPATH)/bin
  4. Install goconvey - go get github.com/smartystreets/goconvey

Git

We use git hooks to standardize development on the project. Please run make git-hooks to get started.

Using Make

Building Artifacts

This will pull down dependencies, run unit tests, and compile a linux, mac and windows binary into ./artifacts.

make

Fiddling Around

You can build and install a copy in your local $GOPATH/bin directory with:

make install

Clean up previous build files

make clean

Linting

make lint

Test Coverage

make test

Visual Test Coverage

make goconvey-install
make goconvey

To Run

make run or just run the executable. It will run as a daemon and bind to port 8888, and you can see it by going to http://localhost:8888 in your browser.

Use API via Curl

$ curl -H "Content-Type: application/json" -d '{"text":"ths is a really really really important thing this is"}' http://localhost:8888/api

Setup example

Use this setup

aws_access_key_id = AKIAIOSFODNN7EXAMPLE aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

word-cloud-generator's People

Contributors

wickett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.