Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/oliverspeir/business-card-frontend

NextJS frontend for FastAPI GraphQL backend with Supabase DB and Auth
https://github.com/oliverspeir/business-card-frontend

graphql-client nextjs supabase-auth supabase-js

Last synced: 3 months ago
JSON representation

NextJS frontend for FastAPI GraphQL backend with Supabase DB and Auth

Awesome Lists containing this project

README

        

# Business Card Generator

## NextJS frontend for FastAPI GraphQL backend with Supabase DB

- TailwindCSS for styling
- Uses Supabase Auth for Social Sign On
- Users can create a business card based on default cards displayed
- Users will have full CRUD capabilities of the Cards

### Structure

- Uses NextJS App directory
- Features a custom useResource hook to handle CRUD interactions with backend
- Two page app
- index page and /gallery
- Supabase client component that can be imported to access the session
- session is used to send authenicated requests to backend

### Resources

- [Supabase JS Library](https://supabase.com/docs/reference/javascript/initializing)
- [Backend Repo](https://github.com/OliverSpeir/business-card-fastapi)

### TODO

- Use apollo client for requests
- Refactor dyanmic route page
- Make form mobile friendly
- have digital gallery link to card page
- have slug randomize if not entered