This is a Ruby on Rails store application made from the Rails Guide 8.0.0.
- Ruby 3.2.2
- Rails 8.x
- PostgreSQL 14.x
- Node.js 18.x or later
- Yarn 1.22.x or later
- Clone the repository
git clone [your-repository-url]
cd store
- Install dependencies
bundle install
yarn install
- Database Setup
rails db:create
rails db:migrate
rails db:seed # if you have seed data
- Copy the example environment file
cp .env.example .env
- Set up your environment variables in
.env
rails server
Visit http://localhost:3000
in your browser
The application uses rails-rspec for testing. To run the test suite:
rails spec