Description
GoShop is an e-commerce application with a Go backend and a React web frontend. The backend runs a REST API on the Gin framework and a gRPC service on a separate port, with JWT authentication on both. Its code is split by domain, covering users, products, orders, payments and notifications, using a ports-and-adapters layout, and the gRPC service covers users, products and orders. Data is stored in PostgreSQL through GORM, Redis is used as a cache, and Swagger generates the API documentation. Schema changes are kept as versioned SQL files and applied with golang-migrate, rather than by automatic migration at startup. The React side is built with Vite and TypeScript, styled with Tailwind CSS, and uses React Router, TanStack Query, React Hook Form with Zod, and Axios. To run it you need Go 1.26 or newer, Node.js 18 or newer, PostgreSQL and Redis, and you set the options in a config.yaml file.…
Highlights
- REST API and gRPC backend written in Go
- React and TypeScript web frontend
- JWT authentication
- Swagger API documentation
- Versioned SQL migrations with golang-migrate
Ratings & Reviews
No ratings yet
Be the first to rate Goshop.
People also visit
EcommerceAPI
Modular e-commerce backend with a GraphQL gateway and gRPC microservices for…
PERN-Store
A full-stack e-commerce project built with Postgres, Express, React and Node
Bitex
Fullstack e-commerce website built with Next.js, Typescript, Prisma, MongoDB
React Shopping Cart
Simple ecommerce cart application built with Typescript and React
Goshop FAQ
What is GoShop?
An e-commerce application with a Go backend, offering a REST API and gRPC services, and a React web frontend. Its domains include users, products, orders, payments and notifications.
What do I need to run it?
Go 1.26 or newer, Node.js 18 or newer, PostgreSQL and Redis. The README points to a Docker Compose template for the local dependencies.
How is the database set up?
The app does not run AutoMigrate at startup. The schema lives in SQL files under migrations/ and is applied with golang-migrate, and the migrations README covers the production pattern.
Where is the configuration?
In config.yaml at the repository root. Set CONFIG_FILE to load a config file from another path.
What is the frontend built with?
React 18 and TypeScript, built with Vite and styled with Tailwind CSS, with TanStack Query for data fetching and Axios for HTTP.
What are the best Goshop alternatives?
Popular alternatives to Goshop include EcommerceAPI, PERN-Store and Bitex. See all Goshop alternatives
