This is summary for coding-on-rails test. This submission is INCOMPLETE.
Version of software being used during development:
- ruby 2.7.2
- Rails 5.2.4.4
- Ubuntu 18.04.5 LTS
- Postman Documentation
- Additional gem:
- jwt: for authentication & authorization
- active_model_serializers: to convert attributes from snake_case to camelCase
- rspec-rails: for unit test
- shoulda-matchers: support unit test implementation
- References:
- using Enumeration for project type
- unit test for controller
This step assumes unix-based machine is ready. Clone this repository
$ git clone https://github.com/veryresto/coding-on-rails.git
Go to downloaded folder
$ cd coding-on-rails
Install the gems
$ bundle install
Run the migrations
$ rails db:migrate
(Optional) Run the tests
$ bundle exec rspec
Run the server. By default it will run on http://localhost:3000
$ rails s