mxpx's People
mxpx's Issues
Sample State
- remove
likes
slice of state - remove
follows
slice of state -
numLikes
key on apicture
MVP List Review
- galleries should not be part of your core features. You can make it a bonus feature for later!
Profile Page
- should show all the photos for a user
- should be able to see all the followers for a user and who is following that user
Great job! If you have any comments/concerns about any of this, comment below or Slack me!
Schema
users
- don't need:
index on [:username, :email, :session_token] unique: true
pictures
-
photographer_id
should not beunique
on the pictures table. If you make itunique
then that means that onephotographer
can only have onephoto
followers
-
follower_id
andfollowee_id
should not be unique for the same reason as above - good job on the
index on [:follower_id, :followee_id], unique: true
!
comments
-
author_id
andpicture_id
should not be unique for the same reason as above - a user should be able to comment on a picture multiple times, so you should review the index on
[:author_id, :picture_id], unique: true
likes
-
liker_id
andpicture_id
should not be unique for the same reason as above
Great job on the schema! If you have any comments/concerns about any of this, comment below or Slack me!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.