Skip to content

Nicolas1st/go-mapper

Repository files navigation

go-maps

Description

Web-application for ordering parking places

with qiwi payments + admin page

Workflow

gif with workflow

Contents

Structure

  • cmd/ contains the executable file

  • web/ contains static files like js, css, and img

  • pkg/ contains qiwi package used for working with qiwi api

  • auth/ authentication API

  • personal/ API for creating an acccount

  • orders/ API for making orders

  • rates/ API for setting payment rates

  • parkings/ REST API for creating parking places

  • views/ used for view functions

  • middlewares/ contains middleware for wrapping APIs to avoid having using js on the client side if possible

  • data/ contains packages for working with the database like

How To Run

  1. Create the private key on the qiwi payment website

  2. Configure the environment variables in docker-compose.yml if needed

  3. Launch the app

docker-compose up
  1. Connect to the app using your browser of choice

    with the credentials and app port that were specified in docker-compose.yml