Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mostly minor changes to models and routes #10

Merged
merged 1 commit into from Mar 4, 2019

Conversation

MonkeyInitiatives
Copy link
Owner

In the game.js model, I changed the pluralization of things to singular since sequelize automatically does that for us. I also changed poster to datatype of TEXT which allows for more than 255 characters or whatever.
Question: What is "hypes" for a game?

For user.js model, I added stuff for the avatar, background image, and color accent. I also changed the pluralization again.

for both route files, I changed pluralization again.

In the package.json file, I added a bunch of dependencies that PassportJS is supposed to need, but I don't know.

In server.js, I added a bunch of code to set up passport, but it's not really in use yet because I'm still a bit confused by passportjs.

I created a seeds.sql to create a single user for our database. I didn't create one for games because I didn't see an associated userid for a game, and I wanted to ask if we should add one? In the spreadsheet Quincy sent us, there's one there, and would think we'd have to do that in order to have the games/users relationship set up.

@fernandamarr fernandamarr merged commit 8ba0022 into master Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants