Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months ago
JSON representation
Backed to provide information for link-prevue vue component
- Host: GitHub
- URL: https://github.com/nivaldomartinez/link-preview-api
- Owner: nivaldomartinez
- Created: 2018-01-04T21:50:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-27T02:44:15.000Z (over 1 year ago)
- Last Synced: 2024-08-03T23:30:42.526Z (6 months ago)
- Topics: api-rest, go, golang, heroku, link-preview, link-prevue
- Language: Go
- Size: 4.88 KB
- Stars: 32
- Watchers: 2
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-golang-repositories - link-preview-api - prevue vue component (Repositories)
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: