Bloccit
Bloccit is a Reddit inspired application
Users can sign up, create posts, comment on posts, vote on posts, favorite posts and receive updates on their favorited posts via email.
Features
- Users can sign up for a free account by providing a user name, password and email
- Users can sign in and out of Bloccit
- Users can view topics and posts
- Users can comment on posts
- Users can create new posts and edit posts they own
- Users can up/down vote any post
- Users can favorite any post and be emailed with updates on that post
- User's profile displays their posts and comments
- Users can add a Gravatar to their profile
- User roles available: member, admin and moderator
- Admins can delete and create any topic or post
Built With
Languages and Frameworks:
- Ruby 2.2.1
- Rails 4.2.5
- Bootstrap
Databases:
- SQLite - Test, Development
- PostgreSQL - Production
Tools and Gems:
- BCrypt for secure passwords
- SendGrid for email confirmation
- FactoryGirl for test suite success
Setup and Configuration
Setup:
-
Environment variables using Figaro are stored in config/application.yml.
-
The config/application.example.yml file shows how environment variables should be stored.
To run Blocipedia locally:
- Clone the repository
- Run
bundle install
- Create and migrate the database with
rake db:create
andrake db:migrate
cd - Start the server using
rails server
- Run the app on
localhost:3000