diff --git a/README.md b/README.md index 6741f16..d3031f1 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,15 @@ # GohCMS ## Setup ### Use with Docker -To **build** the app, run the command -```shell - -``` To **run** the app, run the command ```shell - +docker-compose up ``` ### Build and run it yourself - +TODO ## Environment variables - ./env - - - - - - \ No newline at end of file + - TODO +## Demo +TODO \ No newline at end of file diff --git a/internal/articles.go b/internal/articles.go index 4c6a38e..994b54b 100644 --- a/internal/articles.go +++ b/internal/articles.go @@ -37,6 +37,7 @@ func AddArticle(c *gin.Context) { SendOkMessageToClient(c, "Article successfully added!") } +// TODO Change to GetArticleList that will find filter json context func GetAllArticles(c *gin.Context) { var articles []Article documents, err := getDocuments(ARTICLES_LOCATION, bson.D{}) diff --git a/web/admin-gui/src/router/index.ts b/web/admin-gui/src/router/index.ts index 2b03641..174e21a 100644 --- a/web/admin-gui/src/router/index.ts +++ b/web/admin-gui/src/router/index.ts @@ -1,5 +1,5 @@ import { createRouter, createWebHistory } from 'vue-router' -import Home from '../views/Home.vue' +import Home from '@/views/Home.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL),