Sign inSign up

theremix/nineties-namer

By theremix

•Updated over 9 years ago

Go implementation of https://github.com/theRemix/go90s

Image
0

1.0K

theremix/nineties-namer repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

1.8 MB

Last updated

over 9 years ago

docker pull theremix/nineties-namer:1.0.9