Skip to content

thekosmix/gir-rakshak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Van Rakshak Build Status

Backend in Go for Van Rakshak App

How to setup

Prerequisite

  1. mysql - for storing related data
  2. go - for running backend server
  3. redis - for storing auth tokens
  4. postman - for testing the APIs
  5. Any editor (VS code is prefferred)

Setup and run

  1. After cloning this repo, change mysql credentails in repo.go and redis credentials in redis.go
  2. Create db gir_rakshak in mysql
  3. Import gir_rakshak.sql file in gir_rakshak schema
  4. Import postman collection
  5. Run command go run main.go

Login and other activities

  1. Open postman collections and start with User - Login, which will give an access_token (at) and user_id (uid)
  2. For all other authorised APIs, send this combo in headers

Releases

No releases published

Packages

No packages published

Languages