Skip to content

dayvidwhy/insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insights

GitHub last commit GitHub issues GitHub pull requests GitHub

Insights provides real-time analytics for web applications, without impacting site performance.

Prerequisites

Before you begin, ensure you have the following installed:

  • Docker
  • Git

Getting Started

The development environment is provided by containers.

git clone git@github.com:dayvidwhy/insights.git
cd insights
docker-compose up --build
docker exec -it insights-app bash

Copy the example env file and update the variables.

cp .env.example .env

Build and run the server:

go build -o bin/server server.go
./bin/server

Or with go run:

go run server.go

Server will be available at localhost:1323 on your machine.

VSCode Integration

For an optimized development experience, attach VSCode to the running insights-app container:

  1. Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and select: >Dev Containers: Attach to Running Container...
  2. Choose /insights-app from the list.

VSCode will recommend the Go extension when you open a .go file.

About

💡 Track page view statistics, generate actionable insights. Built with Go and Echo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published