go-quick-api

module
v0.0.0-...-7e3ce5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: MIT

README

{repoName}

Desc about feature

  1. {Feature 1: xxx}

    • balabala
  2. {Feature 2: xxx}

    • balabala

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:

  1. 準備開發環境 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
    
  2. Download the Go modules required by the project:

    go mod download
    
  3. .env

    cp app.env .env
    
  4. Run the application:

    go run ./cmd/main.go
    
DEBUG
  1. check MongoDB
    mongosh -u root -p example --authenticationDatabase admin
    

Directories

Path Synopsis
api
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL