emmahyde / grouper Goto Github PK
View Code? Open in Web Editor NEWGeoCities meets the modern era.
Home Page: https://grouper.lol
License: MIT License
GeoCities meets the modern era.
Home Page: https://grouper.lol
License: MIT License
Currently, when a Friendship
is made with user: user_A, friend: user_B
, no reciprocal record is made in order to reflect the mutual nature of friendships in the User
associations (if I am a friend to someone, they are a friend to me).
Friendship
table, and are reflected by a single Friendship
recordFriendship
record is made against the request, i.e.Friendship(user: user_B, friend: user_A)
Friendship
records that reflect each other, where each User
is the base :user
in one record, and the :friend
association in another.Users
having a "request" to the other through the medium of the Friendship
table.another option is that Friendships
have some sort of status that indicates if it has been accepted, but I don't love this solution because the Friendship
table will turn into the wild west if there is no rhyme or reason to why a user is sometimes the base :user
and sometime the associated :friend
in any given Friendship
. This also means we have to do a lot of funky stuff in order to get the friends for a given user, since they could be in either column. It will additionally make SQL queries for finding/evaluating mutual friendships more demanding.
yet another option is that we use an entirely different data model to represent FriendshipRequests
. This allows us to be more descriptive and explicit at the data model layer and in our naming conventions about our intended behavior and usage, but will similarly lead to confusion around the Friendship
data model itself.
We must authenticate.
This will probably be its own repo, but im adding it here so as not to forget.
Gotta get it live
The login page is very sparse!
We want people to have fun names, but also unique identifying names.
Problem
Users need to be able to upload media (profile pictures, pictures in posts, videos, etc.).
We will need a pipeline and probably a dedicated service for handling media uploads.
Solutions?
s3 + Active Storage?
https://guides.rubyonrails.org/active_storage_overview.html
Need a main feed page!
Per the title. Seems like an issue with logging out and back in again.
I need docker practice, so why not baby. Get this thing in a Docker container.
Need a profile page for users!
There are 2 obvious patterns for profile CRUD. The first would be to direct new users to create their profiles when they first log in or register. Filling out the form would optional, either via a "skip" button or by just letting them submit the empty form. This feels like the more professional/logical route.
The second option would be to direct users to the main feed on first login. If they want to edit their profile page, they can by visiting their own profile and clicking an "edit" button. This feels a bit more slippery, and not exactly intuitive, but I'm not certain that is a bad thing...
In the interest of time, I'm going with the second. It's faster to do and I can always add that other flow later.
Elements
Stretch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.