Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/er-contreras/e-commerce_app

e-commerce platform - We an add items to a shopping cart, create authors, publishers and books.
https://github.com/er-contreras/e-commerce_app

minitest postgresql rails7 ruby-on-rails stimulus turboframe webdevelopment

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://livedemo.com)

## 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 tests`Or`Type '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**

- GitHub: [@er-contreras](https://github.com/er-contreras)
- Linkedin: [LinkedIn](https://www.linkedin.com/in/er-contreras/)
- Twitter: [@er_contreras_](https://twitter.com/er_contreras_)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Microverse

## 📝 License

This project is [MIT](./LICENCE.md) licensed.