GithubHelp home page GithubHelp logo

amalrajan / encyclopedia Goto Github PK

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

The Encyclopedia App, built on Ruby on Rails, provides a straightforward platform for managing articles

Dockerfile 1.20% Ruby 59.84% JavaScript 7.28% CSS 10.91% HTML 20.55% Shell 0.21%

encyclopedia's Introduction

Encyclopedia App

Overview

The Encyclopedia App is a web application built using Ruby on Rails that allows users to manage articles in an encyclopedia. This application provides basic CRUD functionality for articles, including searching, creating, updating, and deleting entries.

Features

  • Article Index: View a list of articles with an option to search for specific entries.
  • Random Article: Redirect to a random article for discovery.
  • Show Article: Display individual articles with their details.
  • Create Article: Add new articles to the encyclopedia.
  • Edit Article: Modify existing articales to keep information up-to-date.
  • Delete Article: Remove articles that are no longer relevant.
  • Cache Management: Set up cache headers to optimize response times.

Getting Started

To run the Encyclopedia App locally, follow these steps:

# Clone the repository:
git clone https://github.com/amalrajan/encyclopedia
cd encyclopedia

# Install dependencies:
bundle install

# Set up the database:
rails db:migrate

# Start the Rails server:
rails server

Open your web browser and navigate to http://localhost:3000 to access the application.

For Docker,

# Pull the Docker image:
docker pull amalrajan/encyclopedia

# Run the Docker container:
docker run -p 10000:10000 amalrajan/encyclopedia

Open your web browser and navigate to http://localhost:10000 to access the application.

Usage

  • Article Creation: Click on "New Article" to create a new encyclopedia entry.
  • Article Modification: Edit existing articles by clicking on the "Edit" button.
  • Article Deletion: Remove articles by clicking on the "Delete" button.
  • Random Article: Discover a random article by visiting http://localhost:3000/articles/random.

Screenshots

Contributions

Contributions to the Encyclopedia App are welcome. If you find any issues or have suggestions for improvement, please open an issue or create a pull request.

License

This project is licensed under the MIT License.

encyclopedia's People

Contributors

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