e-commerce_app

e-commerce platform - We an add items to a shopping cart, create authors, publishers and books.

MIT License

Stars
2
Committers
1

E-Commerce App

Features implemented

  • Implement the about user story
  • Author Management
    • Unit testing
    • Functional Testing
    • Integration Testing
  • Book Inventory Management
    • Implmenting the Publisher Administration Interface
    • Implementing the Book Administration Interface
  • Book Catalog Browsing
    • Implementing the Book Catalog Interface
    • Creating an RSS Feed
  • Shopping Cart Implementation
    • Implementing the user stories
    • Use Ajax request to add book to the cart
  • Drag and Drop
    • Be able to add a book to the cart by dragging it
  • Forum Implementation
    • I use Discourse open source to link Dream Library app to a forum.

Built With

  • Major languages: Ruby
  • Frameworks: Rails
  • Databases: PostgreSQL
  • Tested: miniTest
  • Search Engine: pg search
  • Linters: Rubocop
  • Hotwire(Turbo and Stimulus)
  • Discourse
  • Note: I use Discorse locally using a URL as localhost:3001 for the Library app and a localhost:4200 for Discourse. In order to make it work I run Redis and Discourse in my terminal.

Live Demo

Under Construction

Date of current video 22/02/2023

Full screen to better quality

https://user-images.githubusercontent.com/67211919/220817209-3dda8a35-62f0-4e1c-bf28-6e7c77106da4.mp4

With Discourse implemented.

https://user-images.githubusercontent.com/67211919/222612463-38c9f971-6588-46a0-beb0-85511adfa3af.mov

Getting Started

To get a local copy up and running follow these simple example steps.

Install

run 'bundle install', 'yarn install' or 'npm install'

Create Database

run 'rails db:create', 'rails db:migrate', rails db:setup or rails db:seed

Run Server

run 'rails server' or a shortcut 'rails s' if you are using stimulus run 'bin/dev'

Run tests

Type 'rails test' in the console to run all testsOrType 'ruby test/../..' to a specific test

For forum usage

*In this case we are running our main app in port 3001 in order to let discourse use the port 3000

In your terminal:

In a separate terminal instance run redis

redis-server

In a separate terminal instance, navigate to your discourse folder (cd ~/discourse) and run:

bin/ember-cli

In a separate terminal instance, navigate to your discourse folder (cd ~/discourse) and run:

rails server

Authors

👤 Christian Erick Contreras

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

📝 License

This project is MIT licensed.

Related Projects