This Rails API application serves as a backend system for managing courses and tutors. It utilizes Active Record for database management and Active Model Serializers for JSON serialization.
Before you begin, ensure you have met the following requirements:
- Ruby (version 2.7.6)
- Rails (version 7.0.8.4)
- Bundler (if not already installed, you can install it using
gem install bundler
) - sqlite3
To get started with this application, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/ssaha777/coaching_center.git
-
Navigate to the project directory:
cd coaching_center
-
Install dependencies:
bundle install
-
Database setup:
rake db:create rake db:migrate
-
Run the Rails server
rails server
To test the API endpoints and models run:
rspec