Skip to content
Merged

Refac #142

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ If you prefer manual control:

**Backend (Go):**
```bash
cd server
cd apps/server
go mod tidy
go run .
go run ./cmd/mist
```

**Frontend (React/TypeScript):**
```bash
cd dash
cd apps/web
bun install
bun run dev
```
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

A lightweight, self-hostable Platform-as-a-Service built for developers. Deploy Docker applications from Git with automatic builds, custom domains, SSL certificates, and real-time monitoring.

[![PR Build Check](https://github.com/corecollectives/Mist/actions/workflows/pr-build-check.yml/badge.svg)](https://github.com/corecollectives/Mist/actions/workflows/pr-build-check.yml)
[![Tests](https://github.com/corecollectives/Mist/actions/workflows/tests.yml/badge.svg)](https://github.com/corecollectives/Mist/actions/workflows/tests.yml)
[![PR Build Check](https://github.com/trymist/mist/actions/workflows/pr-build-check.yml/badge.svg)](https://github.com/trymist/mist/actions/workflows/pr-build-check.yml)
[![Tests](https://github.com/trymist/mist/actions/workflows/tests.yml/badge.svg)](https://github.com/trymist/mist/actions/workflows/tests.yml)

## Quick Start

Expand Down Expand Up @@ -47,14 +47,14 @@ cargo install fyrer
Clone and start the development environment:

```bash
git clone https://github.com/corecollectives/mist
git clone https://github.com/trymist/mist
cd mist
fyrer
```

## Community

- [GitHub](https://github.com/corecollectives/mist)
- [GitHub](https://github.com/trymist/mist)
- [Discord](https://discord.gg/hr6TCQDDkj)
- [Documentation](https://trymist.cloud/guide/getting-started.html)

Expand Down
45 changes: 0 additions & 45 deletions Todo.md

This file was deleted.

Empty file added apps/cli/.gitkeep
Empty file.
File renamed without changes.
28 changes: 14 additions & 14 deletions server/api/RegisterRoutes.go → apps/server/api/RegisterRoutes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ package api
import (
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/handlers/applications"
"github.com/corecollectives/mist/api/handlers/auditlogs"
"github.com/corecollectives/mist/api/handlers/auth"
"github.com/corecollectives/mist/api/handlers/deployments"
"github.com/corecollectives/mist/api/handlers/github"
"github.com/corecollectives/mist/api/handlers/projects"
"github.com/corecollectives/mist/api/handlers/settings"
"github.com/corecollectives/mist/api/handlers/templates"
"github.com/corecollectives/mist/api/handlers/updates"
"github.com/corecollectives/mist/api/handlers/users"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/constants"
"github.com/corecollectives/mist/websockets"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/handlers/applications"
"github.com/trymist/mist/api/handlers/auditlogs"
"github.com/trymist/mist/api/handlers/auth"
"github.com/trymist/mist/api/handlers/deployments"
"github.com/trymist/mist/api/handlers/github"
"github.com/trymist/mist/api/handlers/projects"
"github.com/trymist/mist/api/handlers/settings"
"github.com/trymist/mist/api/handlers/templates"
"github.com/trymist/mist/api/handlers/updates"
"github.com/trymist/mist/api/handlers/users"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/constants"
"github.com/trymist/mist/websockets"
)

func RegisterRoutes(mux *http.ServeMux) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"net/http"
"strconv"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/compose"
"github.com/corecollectives/mist/docker"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/compose"
"github.com/trymist/mist/docker"
"github.com/trymist/mist/models"
)

func StopContainerHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func CreateApplication(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"strconv"
"time"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/constants"
"github.com/corecollectives/mist/docker"
"github.com/corecollectives/mist/models"
"github.com/moby/moby/client"
"github.com/rs/zerolog/log"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/constants"
"github.com/trymist/mist/docker"
"github.com/trymist/mist/models"
)

func DeleteApplication(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"strings"
"time"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/corecollectives/mist/utils"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
"github.com/trymist/mist/utils"
)

func CreateDomain(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"
"strings"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func CreateEnvVariable(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func GetApplicationByProjectID(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func GetApplicationById(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/git"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/git"
"github.com/trymist/mist/models"
)

func GetLatestCommit(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"net"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
"gorm.io/gorm"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"strings"
"time"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/docker"
"github.com/corecollectives/mist/models"
"github.com/moby/moby/client"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/docker"
"github.com/trymist/mist/models"
)

func UpdateApplication(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

type CreateVolumeRequest struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"net/http"
"strconv"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func GetAllAuditLogs(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"net/http"
"strconv"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func GetAuditLogsByResource(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"net/http"
"strings"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/rs/zerolog/log"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
"gorm.io/gorm"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
)

func LogoutHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/corecollectives/mist/store"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
"github.com/trymist/mist/store"
"gorm.io/gorm"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"net/http"
"strings"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/models"
"github.com/corecollectives/mist/store"
"github.com/corecollectives/mist/utils"
"github.com/rs/zerolog/log"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/models"
"github.com/trymist/mist/store"
"github.com/trymist/mist/utils"
)

func SignUpHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"encoding/json"
"net/http"

"github.com/corecollectives/mist/api/handlers"
"github.com/corecollectives/mist/api/middleware"
"github.com/corecollectives/mist/git"
"github.com/corecollectives/mist/github"
"github.com/corecollectives/mist/models"
"github.com/corecollectives/mist/queue"
"github.com/rs/zerolog/log"
"github.com/trymist/mist/api/handlers"
"github.com/trymist/mist/api/middleware"
"github.com/trymist/mist/git"
"github.com/trymist/mist/github"
"github.com/trymist/mist/models"
"github.com/trymist/mist/queue"
)

func AddDeployHandler(w http.ResponseWriter, r *http.Request) {
Expand Down
Loading
Loading