- Staging url: https://staging-pastel-front.vercel.app/
- Production url : coming soon
- Ruby version
4.0.2(with Rbenv) - Bundler:
gem install bundler - Ruby On Rails:
gem install rails - Foreman:
gem install foreman
- Clone project:
git clone git@github.com:fralps/pastel-api.git - Move to folder:
cd pastel-api - Install dependencies:
bundle install - Run
reset-dbbash script to install DB, migrations and seed:./scripts/reset-db - Run
devbash script to run both api and front-end server:./script/dev - Go to
http://localhost:5200
- Run tests with Rspec:
bundle exec rspec
ℹ️ CI / CD are running with Github Actions in .github/workflows folder
- In development and staging environement, emails are catched by
letter_openeron api url with this params 👉/letter_opener(ex: http://localhost:3000/letter_opener)