Code Monkey home page Code Monkey logo

music-collection-app's Introduction

Title: Music collection app

This is a music collection app made with Ruby On Rails. Link: (https://gergos-music-collection-app.herokuapp.com/) It is also a challenge by [Moat Builders] (https://www.moat.ai//).

Specs:

  • Rails (rails 6.1.4);
  • Ruby (ruby 3.0.0)
  • psql (PostgreSQL 12.4) - database;
  • devise (4.8.0) - for user authentication
  • simple form

How to install:

  1. Clone the project and create your own repository:
    • [email protected]:karcagigergo/music-collection-app.git --origin music-collection-app your-project-name
    • cd your-project-name
    • git init .
    • git add .
    • git commit
    • hub create
  2. Install dependencies:
    • bundle install
    • yarn install

How to use:

  1. run rails s, to boot up the local server
  2. When running the application it automatically creates a user (username: user, password: 123456) and an admin (username: admin, password: 123456) - of course, if you want to create any kind of user it is absolutely possible.
  3. As a user you can create and edit Albums, as an admin you can delete them too.
  1. Login:
  • Basic login page with the fields username and password
  • Once logged in the user should be able to access all internal pages of the music app
    • If a not-logged in user tries to access any internal page he should be redirected to the login page
  • After a successful login the user should be redirected to the Artists list page
  • A failed login attempt will send the user back to the login page with the error: Sorry, we couldn't find an account with this username. Please check you're using the right username and try again.
  1. Albums:
  • CRUD actions for the albums are available
  • Only admins can DELETE albums (users can add and edit)
  • Each album will contain the following fields:
    • Artist let user select from the list of existing artists
    • Album name
    • Year
  1. Artist List:
  • Only allowed artists should be accepted by the app. The app must load the list of artists from an API.
  • Endpoints:

music-collection-app's People

Contributors

karcagigergo avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.