A Ruby on Rails backend application for managing a dating platform. This API provides all the necessary endpoints for user matching, profile management, messaging, and real-time notifications.
- Ruby 3.0.6
- MySQL
- Node.js and Yarn
- Docker (optional)
- MySQL Server
- Redis (optional, for Action Cable)
- Clone the repository:
git clone [repository-url]
cd toppin_rails
- Install Ruby dependencies:
bundle install
- Install JavaScript dependencies:
yarn install
- Configure the database:
cp config/database.yml.example config/database.yml
# Edit config/database.yml with your database credentials
- Create and migrate the database:
rails db:create db:migrate
- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
- Start the development server:
rails server
- Build and start the containers:
docker-compose up --build
The application will be available at http://localhost:3000
Run the test suite:
rails test
- User authentication with Devise and JWT
- File uploads with Carrierwave and AWS S3
- Email notifications with Mailjet
- SMS notifications with Twilio
- Geocoding capabilities
- Push notifications support
- API endpoints with CORS support
- Pagination and search functionality
app/
- Application codeconfig/
- Configuration filesdb/
- Database files and migrationslib/
- Library modulespublic/
- Public assetstest/
- Test filesvendor/
- Vendor assets
The application can be deployed using Docker:
docker-compose -f docker-compose.prod.yml up --build
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
[Add your license information here]