by Andrew Whitley
Agora is a web application for eCommerce where users can list and buy items. The application is built using Ruby on Rails for server-side delivery of data and views. It also makes use of JavaScript, JQuery, and SCSS for stlying and interactivity on the client-side.
- Ruby on Rails
- JavaScript
- JQuery
- ERB
- HTML
- SCSS
- Define all User Stories
- Create Entity-Relationship Diagram to model database (located in planning directory)
- Create models and run migrations
- Create seed data to test models/database
- Define and create routes
- Create controllers and customize controller methods
- Create views
- Apply JavaScipt functionality and SSCSS styling
- User can view all products for sale, organized by category
- User can list an item to sell
- User can add a listed product to their cart
- User can 'checkout' their cart to create an order for the products in their cart
- User can view their listings via an 'account' view
- User can view their placed orders via an 'account' view
- Users can sort products in a given category alphabetically, by post date, or by price
- On placement of an order, a confirmation email is sent to both the buying user and the selling user with order details
- User has a 'wish list' (an array of products in the User model) to track items they are interested in
- Upon placement of order, the total for the order is charged to a user's credit card
- Fork this repository from the hosted repository on Github
- Clone your forked repository and copy the provided SSH or HTTP code provided
- Open your command line (terminal) on your computer and navigate to the desired storage location
- Download the repository to your computer by typing in 'git clone' , pasting the SSH or HTTP code, and pressing Enter
- Example
git clone git@github.com:ga-wdi-exercises/project2.git
- Open the downloaded directory and run
bundle installto install the required gems - Ensure that you have the Postgres server application installed on your computer
- Run
rails db:create db:migrate db:seedto install the database on your local computer - Run
rails sto start your local server - Open your web browser and navigate to http://localhost:3000 to view the locally hosted application