This Event Management Application is a Ruby on Rails web application designed to simplify the process of creating, viewing, and joining events. It features a user-friendly interface along with an API endpoint for managing event data. This project showcases CRUD operations, authentication, and a clean, responsive UI/UX.
- Framework: Ruby on Rails 7.1.2
- Language: Ruby 3.2.2
- Database: PostgreSQL / SQLite
- Frontend: HTML, CSS/SCSS, JavaScript
- Testing: RSpec, FactoryBot, Faker
- User authentication (Sign up, Log in, Log out) using Devise.
- Event management (Create, Read, Update, Delete).
- RESTful API endpoints for event operations.
- Interactive and responsive user interface.
- JSON data exchange format for API.
- Clone the Repository:
git clone [repository-url]
- Install Dependencies:
bundle install
- Database Setup:
rails db:create db:migrate
- Run the Server:
rails server
- User Authentication:
- Signup:
POST /signup
- Login:
POST /login
- Logout:
DELETE /logout
- Signup:
- Event Operations:
- List all events:
GET /api/v1/events
- Create new event:
POST /api/v1/events
- Show an event:
GET /api/v1/events/:id
- Update an event:
PUT /api/v1/events/:id
- Delete an event:
DELETE /api/v1/events/:id
- List all events:
Execute the following command to run the suite of tests:
bundle exec rspec