It's an app for the body treatment franchise. Users can create an account and book services from different body treatment studios.
Clone the repository into your local computer.
Ruby, '2.6.4'
Ruby on Rails, '~> 6.0.2', '>= 6.0.2.1'
Instal gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
rails db:seed
First you'll have to install the newest version of Node. Then move into the project main directory on the console and follow the instructions below.
Install all the necessary packages:
$ npm install
To be sure, that npm is able to run scripts, lets set the ignore-scripts
configuration key to false:
$ npm config set ignore-scripts false
You can find the scripts in the
package.json
file in thescripts
section.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:4000 to view it in the browser.
The page will reload if you make edits.
Launches the test runner for both, Rspec and React & Reducx.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
In order to deploy it to Heroku, then one the console in root directory of the project run commands in order shown below (current branch needs to be master):
heroku apps:create <app-name>
git add .
git commit -m "Deploy to Heroku"
git push heroku master
heroku run rails db:migrate
heroku run rails db:seed
heroku open
- Ruby - Programming language used
- Ruby on Rails - Ruby framework used
- React - A JavaScript library for building user interfaces
- Redux - A Predictable State Container for JS Apps
- JavaScript - Programming language used
- HTML - Hypertext Markup Language
- SCSS - Sassy CSS
- CSS - Cascading Style Sheets
- VS Code - The code editor used
- Murat Korkmaz on Behance - Web layout design used
👤 Jaak Kivinukk
- Github: @Jaakal
- Twitter: @JKivinukk
- Linkedin: Jaak Kivinukk
- Email: jaak.kivinukk@gmail.com
This project is licensed under the MIT License - see the LICENSE file for details