gorental

command module
v0.0.0-...-893b703 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: Unlicense Imports: 4 Imported by: 0

README ยถ

Go-rent Golang

Vehicle-Rent RESTfull API With Gorilla/mux, Gorm

Golang.jpg

More about Golang

๐Ÿ”— Description

This Backend Application is used for vehicle rental systems such as car rental, motorbikes, and bicycles. In the application, users can add, change, delete, and read the data of the vehicle they want to rent. In addition, users can also see the rental history. This application was built using the Golang programming language with the Gorilla / Mux Framework and uses GORM, a Database that is used using PostgreSQL.

๐Ÿ› ๏ธ Installation Steps

  1. Clone the repository
git clone https://github.com/zazhedho/gorental.git
  1. Install dependencies
go get -u ./...
# or
go mod tidy
  1. Run the app
go run main.go server
  1. Add Env
  APP_PORT= Your Port
  JWT_KEYS= Your Secret Keys

  DB_USER = Your DB User
  DB_HOST = Your DB Host
  DB_NAME = Your DB Name
  DB_PASS = Your DB Password

  CLOUD_NAME = Your Cloudinary Name
  CLOUD_KEY = Your Cloudinary Key
  CLOUD_SEC = Your Cloudinary Secret
  1. Database Migration and Rollback
go run main.go migrate --up //for database migration
# or
go run main.go migrate --down //for rollback

๐Ÿ’ป Built with

Frontend Repository

Frontend : react-VehicleRental here

๐Ÿš€ About Me

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL