This a Ruby on Rails 5.2 app, created to serve as a simple demo app
- Ruby 2.4+
- PostgreSQL Server 9+
Assuming that you cover all requirements
- Clone the git repo
git clone git@github.com:ramses-lopez/forum.git
- Enter the newly created directory
cd forum
- [optional] If you're using rvm, use this command to create and use a proper gemset
rvm use 2.4@forum-app --create --auto-dotfiles
- Check that you're using the desired gemset with
rvm current
- Install all dependencies running
bundle install
- The first time you run the app, you need to create the database:
rake db:setup
-
You're all set! run
rails s
to start the development server and go tohttp://localhost:3000
-
[Optional] You can run the
rake db:load_test_data
task to generate some dummy data.
- Rails 5.2 comes with the
webpacker
gem integrated, so you can use a SPA framework for the UI with Rails as a backend. All the required configuration is already done in this app, but the UI is not. So, next up, ReactJS UI! - Deploy to Heroku, for demo convenience
- Search functionality
- User Notifications