guessing-game

command module
v0.0.0-...-64f37e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 8 Imported by: 0

README

Guessing-Game

Golang simple Guessing game

Usage

go run main.go

listened at http://localhost:8000/

  • Backend Task

    • API endpoints

      • /login

        • ✅ Very simple yes / no with password combination

        • ✅ Return "token"

      • /guess

        • ✅ Access to this endpoint needed to be authenticated via token returned from login

        • ✅ Guess the hidden number - if correct, return HTTP 201 and regenerate the number

      • bonus

        • ✅ Use of middleware for authentication

        • ✅ If we wanted to hide the guess data by not using GET, can we use other method to do so (POST)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL