Skip to content

Commit

Permalink
My first push to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
shinichijn committed Jul 11, 2020
1 parent dd78a30 commit b6df6fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 56 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 4 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,14 @@
# Springit
# Springdev

This is a reddit clone built using Spring Boot 2. I created this
project to show off all the cool features of Spring Boot 2.
This is a demo built using Spring Boot 2 with thymeleaf.

## Getting Started

TODO: How to get started?

### Prerequisites

TODO: What do they need to get started

### Installing

TODO: Installing

## Running the tests

Explain how to run the automated tests for this system

### Break down into end to end tests

Explain what these tests test and why

```
Give an example
```

### And coding style tests

Explain what these tests test and why

```
Give an example
```

## Deployment

Add additional notes about how to deploy this on a live system
The website is deployed on heroku

## Built With

* [Spring Boot 2](https://projects.spring.io/spring-boot/)
* [Spring Framework 5](https://projects.spring.io/spring-framework/)

## Contributing

Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.

## Authors

* **Dan Vega** - [TheRealDanVega](http://www.therealdanvega.com)

See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* Thank you PurpleBooth for the [README template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2).
* Thank you to the Spring Boot team for the awesome software!"# springGit"
* [Spring Framework 5](https://projects.spring.io/spring-framework/)
2 changes: 1 addition & 1 deletion src/main/resources/templates/link/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
const linkID = this.getAttribute("data-id");
const voteSum = document.getElementById('votecount-' + linkID);
const voteSumValue = voteSum.innerHTML;
fetch(`http://localhost:8080/vote/link/${linkID}/direction/${direction}/votecount/${voteSumValue}`)
fetch(`https://jingnie-spring.herokuapp.com/vote/link/${linkID}/direction/${direction}/votecount/${voteSumValue}`)
.then(function(response)
{
if (response.status == 403)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/link/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
const linkID = this.getAttribute("data-id");
const voteSum = document.getElementById('votecount-' + linkID);
const voteSumValue = voteSum.innerHTML;
fetch(`http://localhost:8080/vote/link/${linkID}/direction/${direction}/votecount/${voteSumValue}`)
fetch(`https://jingnie-spring.herokuapp.com/vote/link/${linkID}/direction/${direction}/votecount/${voteSumValue}`)
.then(function(response)
{
if (response.status == 403)
Expand Down

0 comments on commit b6df6fb

Please sign in to comment.