module
Version:
v0.0.0-...-7e3ce5c
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: MIT
Opens a new window with license information.
README
¶
{repoName}
Desc about feature
-
{Feature 1: xxx}
-
{Feature 2: xxx}
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
Clone (make sure branch is quick-websocket-chat)
git clone -b quick-websocket-chat https://github.com/sheginabo/go-quick-api.git
Running Locally
To run the project locally for debugging purposes, follow these steps:
-
準備開發環境
use docker-compose.yaml:
docker-compose -p go-quick-api up -d
If you want a very clean build, use the following command
docker-compose build --no-cache && docker-compose -p go-quick-api up --force-recreate -d
-
Download the Go modules required by the project:
go mod download
-
.env
cp app.env .env
-
Run the application:
go run ./cmd/main.go
DEBUG
- check MongoDB
mongosh -u root -p example --authenticationDatabase admin
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.