rochmanramadhann / fazztrack-vehicle-rental

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vehicle Rental

Golang.jpg

More about Golang

Built With

Golang PostgreSQL

Description

This backend application is used by the user to record incoming orders and manage products. In this application, users can display products, add products, delete products, edit products, and calculate the total price of an order. This application is built with Golang using the gorilla/mux package for routing. The databases used in this application are PostgreSQL and Redis for the caching process.

Feature

  • Authentication and Authorization
  • JWT Web Token
  • CRUD Vehicle
  • CRUD Category
  • CRUD History
  • Solid Principle
  • Search Product Name
  • Sort Product Name, Category, Date Update, and Price order by ASC or DESC

Installation Steps

  1. Install the Golang and GO Environment
https://golang.org/doc/install
  1. Clone the repository
git clone git@github.com:wsaefulloh/cashier-backend.git (go get)
  1. Add .env file at root folder project
DB_HOST=your_db_host
DB_USER=your_db_user
DB_PASS=your_db_pass
DB_NAME=your_dbname
  1. Build the app
go build
  1. Run the app
go run main.go serve
  1. You are all set!
View the website at: http://localhost:8080

About


Languages

Language:Go 99.7%Language:Makefile 0.2%Language:Procfile 0.0%