Public | Automated Build

Last pushed: 2 months ago
Short Description
Go implementation of https://github.com/theRemix/go90s
Full Description

Nineties Namer

See and contribute to github.com/theRemix/go90s

This is an Implementation of Nineties Namer Lib

Example ./routes/router.go

Usage

Running

LISTEN=127.0.0.1 \
PORT=8000 \
go run main.go

Developing

UI Dev

cd ui
yarn install
yarn run dev

webpack proxies specific api requests to https://90s.fun/[random,names]

API Dev

if you want to use the ui

run the server locally, update ./ui/config/index.js

change const apiUrl = liveApiUrl; to const apiUrl = localDevApiUrl

Curl interface

curl 127.0.0.1:8080/random

pete meets world

curl 127.0.0.1:8080/names/v1.0.2

trapper pager

curl 127.0.0.1:8080/names/v1.0.3

wu tang girls

Web interface

open http://localhost:8080

Tests

go test

Building in Docker

make go ui docker

Running in Docker

make run
Docker Pull Command
Owner
theremix
Source Repository

Comments (0)