Skip to content

chirzul/gorent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorent

Go Rent is an backend API for vehicle rent system built on Go Language and Cloudinary for Media API

🛠️ Installation Steps

  1. Clone the repository
git clone https://github.com/chirzul/gorent.git
  1. Install dependencies
go get -u ./...
# or
go mod tidy
  1. Database Migration and Rollback
go run . migrate --up //for database migration
# or
go run . migrate --down //for rollback
  1. Add Env
  JWT_KEYS = Your JWT Key
  APP_PORT = Your Port
  # Database
  DB_USER = Your DB User
  DB_HOST = Your DB Host
  DB_NAME = Your DB Name
  DB_PASSWORD = Your DB Password
  # Cloudinary
  CLOUDINARY_NAME = Your Cloudinary cloud name
  CLOUDINARY_API_KEY = Your Cloudinary API key
  CLOUDINARY_API_SECRET = Your Cloudinary API secret
  1. Run the app
go run . serve

About

Go Rent is an backend API for vehicle rent system built on Go Language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages