Skip to content

Commit

Permalink
chore: use new directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ndabAP committed Nov 27, 2018
1 parent a03f025 commit ec9165f
Show file tree
Hide file tree
Showing 81 changed files with 6,337 additions and 15 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.idea
backend/gin-bin
backend/gin-bin
vendor/**/.git
vendor/*
!vendor/vendor.json
gin-bin
9 changes: 9 additions & 0 deletions backend/Gopkg.lock → Gopkg.lock

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

4 changes: 4 additions & 0 deletions backend/Gopkg.toml → Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@
[[constraint]]
branch = "master"
name = "github.com/pbnjay/memory"

[[constraint]]
branch = "master"
name = "github.com/gin-contrib/static"
4 changes: 0 additions & 4 deletions backend/.gitignore

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions frontend/src/App.vue → client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script>
export default {
name: 'app'
}
export default {
name: 'app'
}
</script>
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions frontend/vue.config.js → client/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const path = require('path')

module.exports = {
productionSourceMap: false,

Expand All @@ -13,7 +11,7 @@ module.exports = {

lintOnSave: 'error',

outputDir: '../backend/assets',
outputDir: '../public',

devServer: {
proxy: {
Expand Down
File renamed without changes.
9 changes: 7 additions & 2 deletions backend/main.go → main.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
package main

import (
"github.com/gin-contrib/static"
"github.com/gin-gonic/gin"
"github.com/ndabAP/vue-go-example/backend/routes"
"github.com/ndabAP/vue-go-example/routes"
"github.com/pbnjay/memory"
"runtime"
"strconv"
"github.com/pbnjay/memory"
)

func main() {
r := gin.Default()

r.Use(static.Serve("/", static.LocalFile("./public", true)))
r.Static("/css", "public/css")
r.Static("/js", "public/js")

r.GET("/api/specs", func(c *gin.Context) {
c.JSON(200, []string{
runtime.GOOS,
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions public/contour/contour-connectors-release-notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* fnm-105 fix script include paths so that json example works
8 changes: 8 additions & 0 deletions public/contour/contour-geo-release-notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* Merge pull request #29 from forio/issues-28
* Merge pull request #30 from forio/topojson-dist-only
* update examples/demo (which is NEVER USED in building or contour-showcase) to look at dist folder for topojson files
* remove topojson files from examples directory
* change feature for world.json from "all" to "countries"
* issue-28: add back in jsfiddle for map.projection now that sample code works
* issue-28: fix sample code per jaime
* contour-geo #28: commenting out the jsfiddle for this until #28 is fixed didn't work. remove completely so it doesn't appear in the generated docs
2 changes: 2 additions & 0 deletions public/contour/contour-release-notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Merge pull request #218 from forio/legend-fiddle
* fix jsfiddle for legend.el example
Loading

0 comments on commit ec9165f

Please sign in to comment.