Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bennettdams/summora

Summora app - Everything, in summary. (Next.js, Prisma, tRPC)
https://github.com/bennettdams/summora

nextjs prisma react s3 trpc typescript vercel

Last synced: about 1 month ago
JSON representation

Summora app - Everything, in summary. (Next.js, Prisma, tRPC)

Awesome Lists containing this project

README

        

![Summora hero image](public/og-summora-230411.png)

# Summora

## Everything, in summary

Platform for user-generated articles on any topic.

https://www.summora.com

Summora - Everything, in summary, less fluff, more facts | Product Hunt

### Built with

- Next.js
- tRPC
- Prisma
- AWS S3
- Tailwind CSS

### Code tour

Some interesting parts of the codebase:

- [APIs](https://github.com/bennettdams/summora/tree/main/src/server/routers)
- Image upload
- [Server logic](https://github.com/bennettdams/summora/blob/main/src/server/cloud-storage.ts)
- [Client logic](https://github.com/bennettdams/summora/blob/main/src/services/cloud-service.ts)
- [Reusable upload component](https://github.com/bennettdams/summora/blob/main/src/components/ImageUpload.tsx)
- [Example: Avatar upload component](https://github.com/bennettdams/summora/blob/main/src/components/Avatar.tsx)
- [Form components](https://github.com/bennettdams/summora/blob/main/src/components/form.tsx)
- Post page
- [Single post page](https://github.com/bennettdams/summora/blob/main/src/components/pages/post/PostPage.tsx)
- [Post comments (recursive tree)](https://github.com/bennettdams/summora/blob/main/src/components/pages/post/post-comments.tsx)
- [Post segment](https://github.com/bennettdams/summora/blob/main/src/components/pages/post/PostSegment.tsx)
- [Explore page](https://github.com/bennettdams/summora/blob/main/src/components/pages/ExplorePage.tsx)
- [Search page](https://github.com/bennettdams/summora/blob/main/src/components/pages/SearchPage.tsx)
- [Date formatting](https://github.com/bennettdams/summora/blob/main/src/util/date-time.ts)