This is a website based on the Lifestyle Articles design by Nelson Sakwa which contents are dynamically loaded through a web application from a database server. The project is intended to be created from scratch using the knowledge and techniques acquired in the HTML & CSS, Ruby, SQL Databases, and Ruby on Rails modules of the Microverse full-stack developer program and is completed as the capstone project of the Ruby on Rails module.
- HTML5
- CSS3
- Font Awesome
- Ruby on Rails
- Postgresql
- Ruby gems like devise, database_cleaner, rspec-rails
- Ruby: 2.7.0
- Rails: 5.2.4
- Postgres: >=9.5
To get a local copy up and running follow these simple example steps:
- Under the repository name, click the Clone or download green button.
-
Copy the URL given by clicking the clipboard button
-
Open a terminal window in your local machine and change the current directory to the one you want the clone directory to be made.
-
Type git clone and then paste the URL you previously copied to the clipboard
-
Change the current directory to the newly created folder
-
Install the ruby gems by running:
bundle install
- Setup database by running this:
sudo -u postgres psql
CREATE ROLE events WITH CREATEDB LOGIN PASSWORD 'pass123';
(Exit postgres console with \q)
- Make sure you have your yarn packages up to date. If not:
yarn install --check-files
- Populate the database by running:
rails db:create
rails db:migrate
- Start your web server:
rails server
- Open your web browser and go to localhost:3000
See a live demo Here
Watch a video with the presentation of the project Here
- Upload custom images for the articles
- Omniauth authentication with Github, Google and Facebook
- Ajax updating for voting notification
- Microverse
- Nelson Sakwa for this awesome design
Give a ⭐️ if you like this project!
This project is MIT Licensed
👤 Carlos Santamaría
- Twitter: @Flakster
- Github: @Flakster
- Email: contact@carlossantamaria.co