Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 622 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 622 Bytes

gem installation

gem install bundler:2.5.18
bundle install

create DB and run migration

  1. copy .env.example and rename it .env
  2. fill in the required fields
bundle exec rake db:create
bundle exec rake db:migrate

run

  1. run the app with rails s or use the provided Dockerfile, OR
  2. open Docker dekstop, run docker start {your_container_name}, then rails s

For Macbook M1 chips

run export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES before running rails s

Note !!!

This is just my create API's learning documentation. There's other way to create API than these code..

Have fun!