Hello and welcome to the project! This is a fullstack application built on a React frontend and Ruby on Rails backend.
The primary functions of the website are:
-
- Website will be listed and functional.
-
- Users will be able to create an account and sign in.
- Users will be able to log in to a dummy account to view the website as if signed in without creating an account.
- Users will not be able to post games or reviews without an account.
- Users should also be able to add friends.
-
- Arguable one of the most important features other than being able to sign in. Website will have an almost functional purchase features
-
- After adding a game to the cart, customer will be able to do all of the things that lead to checkout.
-
- Users will be able to leave reviews of a game, and there will be a scoring system based on total reviews.
- This hopefully will be separated by recent reviews, and all time.
- Users will be able to to create, update, and delete their own reviews.
- Everybody will be able to see reviews of games.
- Users will be able to leave reviews of a game, and there will be a scoring system based on total reviews.
-
- Users should be able to set a profile photo, and a description.
- Ideally there will be other customizations such as a animated background.
namespace :api, defaults: { format: :json } do
resources :users, only: [:create, :destroy, :show, :update, :index]
resources :games, only: [:show, :index]
resources :reviews, only: [:create, :destroy, :update, :index]
resources :carts, only: [:create, :destroy, :index, :show]
resource :session, only: [:create, :destroy, :show]
end
- Users
- create, user creation
- destroy, user deletion
- show, user show page/profile page
- edit, where you can edit info about a user.
- Games
- games/:gameId
- shows a game, and gets its reviews
- games index
- shows all games
- games/:gameId
- reviews
- user is able to create, destory, and update reviews that they have authored.