You like Tea?! Well you are in luck you can make subscriptions to teas and you will get all the information on the tea that you subscribe to such as the brew temp and time and info about the tea!
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.
This project uses Ruby version 3.2.2.
To initialize the database, run the following commands:rails db:{drop,create,migrate,seed}
To run the test suite, execute the following command:
bundle exec rspec
To run the server, execute the following command:
rails s
In terminal (bash or zsh):
git clone [email protected]:JustinSteel/tea_party.git
cd tea_party
In your terminal:
-
bundle install
-
rails s
- The backend runs on 'http://localhost:3000/'
GO HERE TO EXPLORE!
bundle exec rspec
All tests should be passing.
Utilize "http://localhost:3000/"
to access ALL endpoints.
Customer_Subscriptions CRUD
-
Customer_Subscritpions Index
- GET
/api/v1/customer_subscriptions
- GET
-
Customer_Subscritpions Create
- POST
/api/v1/customer_subscriptions
- POST
-
Customer_Subscritpions Update
- PATCH
/api/v1/customer_subscriptions/:id
- PUT
/api/v1/customer_subscriptions/:id
- PATCH
- Faraday
gem "faraday"
- json:api
gem 'jsonapi-serializer'
- rspec-rails
gem "rspec-rails"
- factory_bot
gem "factory_bot_rails"
- Faker
gem "faker"
- orderly
gem "orderly"
- Pry
gem "pry"
- SimpleCov
gem 'simplecov'
- Shoulda Matchers
gem "shoulda-matchers"