The objective of this exercise is to implement a platform that allows the stock management of fruit products in an international market.
The setups steps expect following tools installed on the system.
- PostgreSQL 12
- Ruby 2.7.1
- Rails 6.1.3
- Webpack 5
- Puma 5
git clone https://github.com/claudioduarte/international-fruit-market.git
or, if you prefer, via SSH (recommended)
git clone git@github.com:claudioduarte/international-fruit-market.git
bundle install
yarn install
Start PostgreSQL in your local machine if not yet running.
service postgresql start
rake db:create
rake db:schema:load
rake db:seed
You can start the rails server in a development environment using the command given below.
rails s
You can start the webpack-dev-server in a development environment using the command given below in a separate terminal.
ruby ./bin/webpack-dev-server
You can visit the website using the following URL: http://localhost:3000
Licensed under the MIT License. ©2021 Cláudio Duarte