ertechin / artists_and_albums

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artists And Albums

A simple Rails application where you can search, view, and edit data. Data is retrieved from an API before the application starts with the import service. After making sure that the necessary configs are loaded and the server is defined.

LIVE PROJECT (PRODUCTION).

Table of Contents

Installation

Prerequisites

  • Ruby (ruby-3.2.2)
  • Rails (version 7.1.3 >= 7.1.3.3)
  • Postgresql
  • required ENV's: IMPORT_EXTERNAL_USERS_INFO_BASE_URL IMPORT_EXTERNAL_USERS_PHOTO_BASE_URL

Steps

  1. Clone the repository
  1. Install dependencies:
 bundle install
  1. Setup the database:
rails db:create && rails db:migrate
  1. Export the env's:
export IMPORT_EXTERNAL_USERS_INFO_BASE_URL=https://jsonplaceholder.typicode.com
export IMPORT_EXTERNAL_USERS_PHOTO_BASE_URL=https://picsum.photos
  1. Precompile Assets:
rails assets:precompile
  1. Run the Rails server:
bin/dev

About


Languages

Language:Ruby 60.7%Language:HTML 29.5%Language:Dockerfile 3.5%Language:JavaScript 3.3%Language:CSS 1.6%Language:Shell 1.1%Language:Procfile 0.2%