A Point of Sale app for an antique shop built using Ruby and ActiveRecord.
- Clone this repository at github.com/langlk/point_of_sale
- Ensure you have Postgres installed and running (instructions here)
- Create a database
point_of_sale_development
by running the commandcreatedb -T template0 point_of_sale_development
- Run the command
psql point_of_sale_development < my_database.sql
in the project root directory - Run the command
ruby app.rb
in the project root directory - Open
localhost:4567
in your web browser
- Manager can add, view, edit, and delete products.
- Cashier can add, edit, and cancel a purchase.
- Manager can view all purchases, and see total sales over a specified time period.
- Cashier can only sell items that have not been sold to another customer.
Please contact [email protected] or [email protected] with questions, comments, or issues.
- Ruby
- Sinatra
- Postgres
- ActiveRecord
Copyright (c) 2017 Kelsey Langlois & L. Devin MacKrell
This software is licensed under the MIT license.