Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 1.94 KB

README.md

File metadata and controls

82 lines (52 loc) · 1.94 KB

FS-Blog - A Modern Fullstack Dev.to Style Multi-user blog

Built with Go FastSchema, Next.js App Router + NextAuth.js v5 and Chakra UI.

Why

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 backend is still iterating...

The code was written for this article.

Tech Stack:

Frontend

  • React
  • Next.js App Router
  • NextAuth.js v5
  • Chakra UI v2
  • SWR
  • Axios

Backend

  • FastSchema
  • SQLite (with demo data)
  • seeder

Getting started

To get started with this project, run

Backend

  git clone https://github.com/vulcangz/fs-blog.git
  cd blog
  go mod tidy
  go run .

visiting http://localhost:8000/dash

Test accounts

ADMIN: admin/123456
User: test1~test5/123456

After logging in, administrators can access the documents: http://localhost:8000/docs

Frontend

  cd web
  pnpm i
  pnpm dev

visiting http://localhost:3000

and that's all you need to get started!

Acknowledgements

License

MIT