From 54d39418b2273956da8ff05cb424781f888087f8 Mon Sep 17 00:00:00 2001 From: GetPsyched Date: Mon, 25 Sep 2023 22:10:46 +0530 Subject: [PATCH] feat: update project name and link --- README.rst | 6 +++--- server.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 994b789..efd7959 100644 --- a/README.rst +++ b/README.rst @@ -1,16 +1,16 @@ NKSS Breadboard =============== -.. image:: https://img.shields.io/github/go-mod/go-version/NIT-KKR-Student-Support-System/breadboard?logo=Go +.. image:: https://img.shields.io/github/go-mod/go-version/nkss-dev/breadboard?logo=Go :target: https://go.dev :alt: Go version info -A RESTful API wrapper for the database our project, `NKSSS `_, relies on! +A RESTful API wrapper for the database our project, `NKSS `_, relies on! Running a local instance ------------------------ -1. **Clone the repository:** ``git clone https://github.com/NIT-KKR-Student-Support-System/breadboard`` +1. **Clone the repository:** ``git clone https://github.com/nkss-dev/breadboard`` 2. **Setup initial configuration:** Populate ``sample.env`` with its corresponding values. - The ``HMAC_SECRET`` can be any string you like as long as you have a valid JWT token for it. To generate this token, please execute ``go run dev/genjwt.go `` in the root directory *after* setting this env variable. diff --git a/server.go b/server.go index 649a56c..2b5cf43 100644 --- a/server.go +++ b/server.go @@ -57,7 +57,7 @@ func (s *server) Run() { // setRouters maps endpoints to the functions they must route to. func (s *server) setRouters() { s.router.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte("Welcome to NKSSS' API!")) + w.Write([]byte("Welcome to NKSS' API!")) }) // Status