Categorygithub.com/blong14/map_plat
modulepackage
0.0.0-20240516024800-ff8cf7376107
Repository: https://github.com/blong14/map_plat.git
Documentation: pkg.go.dev

# README

map_plat

Tech

Project setup

Database Setup

docker-compose up -d

Once running, connect via pgAdmin

username: docker
password: docker
port: 54321

Create a locations table in the gis database with latitude, longitude, and count columns

Import the initial dataset

copy locations from '/data/out.csv' DELIMITERS ',' CSV;

Certs

generate self signed certs and place in the root of the application

Testing

Currently, all server side tests rely on a local database running. This requirement should be updated in the future.

docker-compose up -d
go test ./...

Run the server

go get
go run main.go

Compiles and hot-reloads for development (from app directory)

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint

# Packages

No description provided by the author
No description provided by the author