Built with Go FastSchema, Next.js App Router + NextAuth.js v5 and Chakra UI.
FastSchema is a No-Code Headless CMS, with built-in features: Admin Control Panel, File manger, OAS, RBAC, and more. But so far, I haven't found a good enough web front end to showcase its rich functionality. Because "Next.js has everything you need to build great products on the web.", so let me try...
Thanks to the dev.to clone repository on GitHub for giving me the courage to try it.
Note: Please note that this is only an experimental demo system. The backend is basically stable, and the frontend is still iterating...
The code was written for this articles : (1), (2).
Frontend
- React
- Next.js App Router
- NextAuth.js v5
- Chakra UI v2
- SWR
- Axios
Backend
- Go
- FastSchema
- SQLite (with demo data)
- seeder
To get started with this project, run
git clone https://github.com/vulcangz/fs-blog.git
cd blog
go mod tidy
go run .
visiting http://localhost:8000/dash
ADMIN: admin/123456
User: test1~test5/123456
After logging in, administrators can access the documents: http://localhost:8000/docs
cd web
pnpm i
pnpm dev
visiting http://localhost:3000
and that's all you need to get started!
- FastSchema - for making this possible
- Next.js - for making this possible
- Auth.js - for Credentials & OAuth authentication
- Chakra UI - For me, this is probably the best react component library to use
- SWR - "使用 SWR,组件将会不断地、自动获得最新数据流。UI 也会一直保持快速响应。"这毋庸置疑!
- DEV Community - The source of this creativity
- MA-Ahmad/dev.to-clone
- Dev Community Clone
- spicy-tomato/tech-blog
- Countries Autocomplete Component - for search input autocomplete feature
- Contributor Covenant Code of Conduct - for "Code of Conduct" generated
- terms-and-conditions-generator.github.io - for "Terms and conditions" generated
- more...
The libraries and components used are copyrighted by their authors,
Others by me: MIT