Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nivaldomartinez/link-preview-api

Backed to provide information for link-prevue vue component
https://github.com/nivaldomartinez/link-preview-api

api-rest go golang heroku link-preview link-prevue

Last synced: about 2 months ago
JSON representation

Backed to provide information for link-prevue vue component

Awesome Lists containing this project

README

        

# Link-Preview Backend

[link-prevue](https://github.com/nivaldomartinez/link-prevue)

[link-prevue Demo](https://link-prevue.herokuapp.com/)

[link-prevue Demo Repo](https://github.com/nivaldomartinez/link-prevue-demo)

## Install GoDep

In the root project folder run the following command

```sh
$ go get github.com/tools/godep
```

and run

```sh
$ godep save
```

## Deploy on Heroku

heroku login

```sh
$ heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Logged in as [email protected]
```

add code and dependencies, like

```sh
$ git add -A .
$ git commit -m "code and deps"
```

create a heroku app

```sh
$ heroku create appname
```

now deploy your app

```sh
$ git push heroku master
```

visit the app deployed

```sh
$ heroku open
```

:heart: