abdulreh123 / post-backend

Backend for posts in ruby on rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Post crud with ruby on rails

#ruby-version: 3.1.2

#rails-version: 7.0.3

Scripts

to start the service you have to run:

bundle install

this will install all the dependencies for the project

rails db:migrate

adds all the necessary tables in the database

rails s

starts the server on port 3000

run test

to start the testing you have to:

rails db:migrate RAILS_ENV=test

adds all the necessary tables in the test database

cd spec

go to tests location

rails spec

run test

About

Backend for posts in ruby on rails


Languages

Language:Ruby 92.3%Language:Batchfile 7.3%Language:HTML 0.5%