CostumeMania is a dynamic marketplace designed during a LeWagon Bootcamp project, where we brought our coding skills to life in just one week.
- Explore a Diverse Costume Library: Browse through a collection of costumes.
- Search: Find the right costume through search and filtering options.
- Rent or List Your Costumes: Whether you want to dress up for a special occasion or share your costumes with others, CostumeMania offers an easy-to-use renting and listing process.
- Review: Review a costume after you are done renting it.
Current Rails version is 7.0.7
Current Ruby version is 3.1.2
CostumeMania makes use of Stimulus.js to enhance the user experience and provide a smooth filtering feature.
To configure the application, create a .env
file and set the necessary environment variables.
CostumeMania relies on a set of Ruby gems to function seamlessly. These gems are managed and installed using Bundler, a dependency management tool for Ruby projects.
If you're setting up CostumeMania for the first time or working on the project, you can install all the required gems by running the following command:
bundle install
Algolia is used for efficient keyword search functionality in CostumeMania. To integrate Algolia with the project, follow these steps:
- Sign up for an Algolia account and obtain your API credentials.
- Configure your Algolia credentials in the project's
.env
file.
Cloudinary is used for image and video management in CostumeMania. To use Cloudinary with the project, follow these steps:
- Sign up for a Cloudinary account and obtain your API credentials.
- Configure your Cloudinary credentials in the project's
.env
file.
Make sure to set up these external dependencies properly for the full functionality of the CostumeMania project.
CostumeMania is tested using Minitest, the default testing framework for Ruby on Rails. To run the test suite, use the following command:
rails test
This will execute all the tests and provide you with feedback on the status of the application's functionality.
To set up CostumeMania on your local machine, follow these steps:
-
Clone the Repository:
git clone https://github.com/Cameliaasb/CostumeMania.git cd CostumeMania
-
Install dependencies: Make sure you have Ruby and Rails installed on your machine. Then, run:
bundle install
-
Database Setup:
Run the database migrations to set up the database schema:
rails db:migrate
Seed the database with initial data (optional):
rails db:seed
-
Start the Application:
rails server
-
Access CostumeMania:
Open your web browser and navigate to http://localhost:3000 to access the CostumeMania application.
🎉 Now you have CostumeMania running locally on your machine. Enjoy exploring and using it! 🎉