GithubHelp home page GithubHelp logo

varshi45 / manga-reader Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 79 KB

This is Manga-Reader built using Rails 7

Home Page: https://manga-reader-sos1.onrender.com/

Dockerfile 1.76% Ruby 45.78% JavaScript 1.69% CSS 0.99% HTML 49.07% Shell 0.71%

manga-reader's Introduction

Manga Aggregator Application

Description

This application is a manga aggregator built using Ruby on Rails 7. It allows users to browse, rate, and comment on various manga titles. The application is styled using Tailwind CSS and integrates PostgreSQL for database management.

Features Checklist

  • An admin panel to upload the mangas
  • Distinctive fields to fill the title of the manga being uploaded, the author, date of first publishing, and description of the manga
  • Admin can upload the manga from the admin panel
  • Feature to upload new chapters whenever the admin desires
  • Manga categories to determine the genre of the manga
  • Homepage displaying all available mangas with a search bar
  • Display trending mangas on the homepage
  • View detailed information when a user clicks on a manga
  • Users can like and comment on the mangas
  • Read mangas in a paginated way with a page read tracker
  • Track likes on the manga, users can rate manga out of 5 stars

Additional Requirements (Nice to Have)

  • Recommend manga to a user based on their past interests in some genre
  • Data analytics for the admin to determine which mangas are being read the most by the users and other such details

Admin Credentials

[email protected] 1234

Ruby Version

This application is built with Ruby 3.2.0 and Rails 7.0.0. Ensure you have the correct version installed to run the application.

System Dependencies

  • Ruby 3.2.0
  • Rails 7.0.0
  • PostgreSQL 14.x
  • Node.js (for managing frontend assets)
  • Yarn (for managing JavaScript dependencies)

Configuration

  1. Clone the repository:

    git clone https://github.com/varshi45/Manga-Reader.git
    cd Manga-Reader
  2. Install the required gems:

    bundle install
  3. Install JavaScript dependencies:

    yarn install
  4. Setup environment variables: Create a .env file in the root directory and add the necessary environment variables. Example:

    DATABASE_URL=postgres://user:password@localhost:5432/manga_aggregator_development

Database Creation

  1. Create the database:

    rails db:create
  2. Run migrations:

    rails db:migrate
  3. Seed the database with initial data (optional):

    rails db:seed

How to Run the Test Suite

To run the test suite, use the following command:

rails test

Services

  • Job Queues: If your application uses background jobs, configure Active Job with your preferred queuing backend (e.g., Sidekiq, Delayed Job).
  • Cache Servers: Use caching for improved performance. Configure caching in config/environments/production.rb (e.g., Redis).
  • Search Engines: If implementing search functionality, integrate with a search engine (e.g., Elasticsearch).

Deployment Instructions

  1. Prepare the server environment:

    • Install Ruby, Rails, PostgreSQL, and other dependencies.
    • Configure the server with environment variables and database credentials.
  2. Deploy the application:

    • Use a deployment tool or service (e.g., Capistrano, Heroku, AWS Elastic Beanstalk).
    • Run deployment tasks such as rails db:migrate and rails assets:precompile.
  3. Start the application server:

    rails server

Additional Notes

  • For local development, ensure that you have the appropriate version of Ruby and Rails installed.
  • Review the config/environments/*.rb files for environment-specific configurations.
  • Consult the Rails Guides for more detailed information on Rails features and best practices.
  • Use the bin/dev script for starting the development server to ensure CSS is correctly applied.

manga-reader's People

Contributors

varshi45 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.