https://github.com/night-codes/golang-site-example
Just for fun
https://github.com/night-codes/golang-site-example
example go golang mgo mongo site tokay
Last synced: 7 months ago
JSON representation
Just for fun
- Host: GitHub
- URL: https://github.com/night-codes/golang-site-example
- Owner: night-codes
- Created: 2016-01-04T18:27:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T01:58:33.000Z (over 2 years ago)
- Last Synced: 2024-11-15T07:51:46.156Z (7 months ago)
- Topics: example, go, golang, mgo, mongo, site, tokay
- Language: HTML
- Size: 102 KB
- Stars: 21
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang example site
Example represent small site with admin-panel.## Requirements
Go 1.11 or above.
## Installation
Run the following command to get the sources:
```
git clone https://github.com/night-codes/golang-site-example
cd golang-site-example
go get -u
```Start the application:
```
go run .
```Now the application runned on address [http://localhost:8080/](http://localhost:8080/).
## Admin Panel
You can found the admin panel by address [http://localhost:8080/admin/](http://localhost:8080/admin/).
Username/Password: `admin secret`