• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Go
  • License
    GNU Lesser Genera...
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Single repo demo project using GoFrame.

1. Focus Single

A MVC project using GoFrame.

2. Quick start

2.1 If you use SQLite

  1. Download the source code
git clone https://github.com/gogf/focus-single.git
cd focus-single
  1. Run Focus Single
cp manifest/config/config.example.yaml manifest/config/config.yaml
gf run main.go
  1. Enjoy it then open http://127.0.0.1:8199/ and enjoy it.
user:     goframe
password: 123456

2.2 If you use MySQL

  1. Download the source code
git clone https://github.com/gogf/focus-single.git
cd focus-single
  1. Update config copy manifest/config/config.yaml and edit database.default config
cp manifest/config/config.example.yaml manifest/config/config.yaml
  1. Import Db Import manifest/document/focus.sql to your Mysql

  2. Run Focus Single And Enjoy

gf run main.go

then open http://127.0.0.1:8199/ and enjoy it.

user:     goframe
password: 123456

More Repositories

1

gf

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Go
10,033
star
2

awesome-gf

Awesome projects using GoFrame.
322
star
3

gf-demo-user

A simple user API service.
Go
315
star
4

gf-cli

GoFrame Command Line Interface, which is your helpmate for building GoFrame application with convenience.
Go
250
star
5

gf-jwt

GoFrame HTTP JWT middleware.
Go
115
star
6

focus

Community system build using GoFrame.
Go
112
star
7

katyusha

[WIP]Katyusha micro service development framework.
Go
84
star
8

greuse

Package greuse provides Listen and Dial functions that set socket options in order to be able to reuse ports. You should only use this package if you know what SO_REUSEADDR and SO_REUSEPORT are.
Go
55
star
9

swagger

Swagger wrapper for GoFrame project.
Go
30
star
10

gf-demo-grpc

A simple GRPC service.
Go
13
star
11

gf-demo-chat

A simple MVC chat service.
Go
13
star
12

gcache-adapter

Adapters for GoFrame package gcache.
Go
12
star
13

goframe.org-pdf

Standalone document of goframe.org in pdf.
11
star
14

csrf

CSRF middleware for GoFrame web server.
Go
8
star
15

polaris

Polaris with GoFrame.
Go
7
star
16

guuid

Package guuid generates and inspects UUIDs.
Go
7
star
17

katyusha-demos

[WIP] Demonstrations for Katyusha.
Go
5
star
18

gf-tracing

GoFrame tracing feature demonstrations.
Go
4
star
19

template-mono

GoFrame Template For MonoRepo
Go
4
star
20

gf-empty

An empty project of GoFrame.
Go
3
star
21

selfupdate

Go
3
star
22

template-single

GoFrame Template For SingleRepo
Go
3
star
23

gflock

Package gflock implements a concurrent-safe sync.Locker interface for file locking.
Go
1
star