Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khoiuna/nextjs-go-ecommerce-cms
A simple CMS for your online store built with NextJS & Golang.
https://github.com/khoiuna/nextjs-go-ecommerce-cms
cms ecommerce fiber-framework golang gorm-orm nextjs14 sqlite3
Last synced: about 6 hours ago
JSON representation
A simple CMS for your online store built with NextJS & Golang.
- Host: GitHub
- URL: https://github.com/khoiuna/nextjs-go-ecommerce-cms
- Owner: KhoiUna
- License: mit
- Created: 2024-03-03T22:09:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T21:10:19.000Z (6 months ago)
- Last Synced: 2024-05-22T22:27:03.407Z (6 months ago)
- Topics: cms, ecommerce, fiber-framework, golang, gorm-orm, nextjs14, sqlite3
- Language: TypeScript
- Homepage: https://samplestore.khoiuna.info/
- Size: 273 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NextJS + Golang Ecommerce CMS
## Intro
### Features
- Login page at `/login`
- Try the demo at [samplestore.khoiuna.info/login](https://samplestore.khoiuna.info/login).
- Login with username `admin` & password `admin123`.
- Admin dashboard to add & edit products.
- Preorder notification through Discord.## Development
### Frontend
Built with NextJS and TailwindCSS.
1. Copy `frontend/.env.example` template & change the env variables.
2. `pnpm i` to install dependencies.
3. `pnpm dev` to run local frontend server.### Backend
Built with Go Fiber, Gorm and SQLite.
1. Copy `backend/.env.example` template & change the env variables.
- `openssl rand -base64 32` to generate a cookie secret for `COOKIE_SECRET`.
2. `go get .` to install Go packages.
3. `make watch` to run local backend server.## Production
(Please contribute!)