Web application where users can login, create and vote for sweet recipes.
This is the main page, where are listed the most recent recipes in the top 4 priority categories. Also the main article is the most voted article by users.
This is the section where the user can create a new recipe, uploading also the image for the entry.
This is how it looks the recipe.
List all the recipes by category.
- Ruby
- Ruby On Rails
- Rubocop
- PostgreSQL
- Github
- RubyMine
- CSS3
To get a local copy up and running follow these simple example steps.
-
Make sure that Ruby Environment is installed in your computer (try to run ruby from your prompt), if not you can install it from here.
-
Download and unzip or clone this repository
- Open your terminal and move to the root of the project, using
cd
command. - First run
$ rails webpacker:install
- You must run
$ bundle install
- Then you must run
$ rails db:create db:migrate
, so you can work locally with the database. - Start server using
$ rails s
- You can go to http://127.0.0.1:3000/ to use the app locally
- You need to migrate the test database with the following command
rails db:migrate RAILS_ENV=test
- Then just run
bundle exec rspec
in the prompt
License This project is MIT licensed.