Cleaning here and there

This commit is contained in:
Florian Sylvain
2022-10-14 13:43:01 +02:00
parent 75ee8d9a38
commit a29b8ccc84
3 changed files with 7 additions and 10 deletions
+5 -9
View File
@@ -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
-
-
-
- TODO
## Demo
TODO
+1
View File
@@ -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{})
+1 -1
View File
@@ -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),