Skip to content

SANKALP1011/SolarSearcherBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b122e28 · Dec 18, 2023

History

47 Commits
Dec 8, 2023
Nov 13, 2023
Dec 8, 2023
Dec 18, 2023
Dec 8, 2023
Dec 8, 2023
Dec 8, 2023
Nov 11, 2023
Dec 8, 2023
Nov 7, 2023
Dec 14, 2023
Dec 14, 2023
Dec 14, 2023
Dec 8, 2023
Dec 8, 2023
Dec 13, 2023

Repository files navigation

SOLAR SEARCHECR BACKEND

  • This is the backend for the solar searcher api built using golang and fiber.

Tech Stack

  • Golang
  • Fibre (Golang rest api framework)

Deployement

  • Render

Live URL

https://solar-geek-api.onrender.com

Postman Documentation

https://documenter.getpostman.com/view/24017825/2s9Ykkf3as

Folder Strcuture

  • Main.go (Main server file)

        - main.go
  • Controller

       - space.controller.go
  • Error ( Custom error file )

       - customHandler.error.go
  • Helper ( functions that would be used in the controllers )

       ## This helper converts the user location into coordinates.
       - geoCordinate.helper.go
       ## This helper helps in performing the analysis over the weather conditions.
       - weatherAnalysis.helper.go
  • Model ( Contains the model that would help in mapping through api response )

       - spaceData.model.go
  • Services ( This would be used for making api calls to the third party space api's )

       - spaceApis.service.go
  • Routes

      - space.router.go
  • Utils ( This contains the base url for the various third parties api that are being used in our backend )

       - apis.utils.go

Endpoints

app.Get("/v1/getIssLocation", Controller.GetISSLocation)
app.Get("/v1/getMarsRoverPic", Controller.GetMarsRoverImage)
app.Get("/v1/getApodApiImage", Controller.GetApodImages)
app.Get("/v1/performWeatherAnalysis", Controller.PerformWeatherAnalysis)

About

This is the rest api for Solar Searcher.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages