https://github.com/mo7zayed/golang-ddd
This is a simple chat application using golang & nuxtjs with DDD files structure
https://github.com/mo7zayed/golang-ddd
Last synced: 8 months ago
JSON representation
This is a simple chat application using golang & nuxtjs with DDD files structure
- Host: GitHub
- URL: https://github.com/mo7zayed/golang-ddd
- Owner: mo7zayed
- Created: 2020-05-18T03:55:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T06:14:27.000Z (over 3 years ago)
- Last Synced: 2024-12-26T08:17:31.408Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 2.92 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Golang & Nuxt JS Chat Application
This is a simple chat application using [golang](https://golang.org/) and [nuxtjs](https://nuxtjs.org/).
I have implemented DDD (Domain Driven Design) [read more](http://dddsample.sourceforge.net/architecture.html).
The files structure needs enhancement it can be better.
#### Features
- JWT Authentication
- Database migrations (Makefile)
- Database seeds (Makefile)
- Single Page Application
- Postman collection created `postman_collection.json`, `postman_environment.json`
#### Installation
##### Server Side
- `git clone repo.url.here ./folder`
- `cd folder`
- `go list -e $(go list -f '{{.Path}}' -m all)`
- `make serve` or `make dev` for development NOTE: if you are gonna run `make dev` see https://github.com/gravityblast/fresh first.
- set your vars in .env file
- run the migrations `make migrate`
- run database seeds to generate fake data `make seed`
##### Client Side
- `cd folder/client`
- see https://nuxtjs.org/guide/installation first
- npm install
- npm run dev
- have fun ...
##### Run the application
- make serve
- cd client && npm run dev