This was my first project deploying to Heroku, there were a few hiccups due to how bootstrap was initially installed, but thankfully the issues with deploying were sorted promptly
https://discussion-board-project1.herokuapp.com/
- Create Community
- Create Post
- Create comments
- Create an account
- Have a bio if you route to user account
- See personal posts by user account
- Delete own account
- Cannot create community unless logged in
- Cannot comment unless logged in
- Admin accounts
- Total comments per post on posts show page
- Delete currently logged in users comments and not everyones
- Upvoting posts
- Upvoting comments
- Reporting posts
- Reporting accounts
- Reporting comments
- Links are currently just text in comments, posts or communities
- Is Rack based;
- Is a complete MVC solution based on Rails engines;
- Allows you to have multiple models signed in at the same time;
- Is based on a modularity concept: use only what you really need.
- Currently supports jQuery 1, 2 and 3
- the jQuery UJS adapter
- Ajax enables you to retrieve data for a web page without having to refresh the contents of the entire page. In the basic web architecture, the user clicks a link or submits a form. The form is submitted to the server, which then sends back a response. The response is then displayed for the user on a new page.
PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. I have no idea how it works or where it runs but i love it.
I initially had alot of trouble with this part starting out, Thankfully i collaborated with some friends who work as full stack developers whom were excellent at explaining situtations where you would use certain migrations. As a result i created 5 migrations
- devise_create_accounts.rb
- create_communities.rb
- create_posts.rb
- add_summary_to_communities
- create_comments
-
:destroy method within comments_controller.erb kept having routing issues when targeting specific a comment :id, commented out for the time being until fixed also will be re-enabled when users can only delete their own posts and comments
-
:destroy method on post within controllers/post_controller.rb is redirecting to all communities path instead of existing community, also currently commented out for the time being.
-
layout / Bootstrap cards not lining up with each other
-
bugs bugs bugs bugs