Skip to content

gabrielcaiana/NuxtBnB

Repository files navigation

NuxtBnB (WIP)

NuxtBnB is production ready AirBnB clone. Get to work with bookings, date picking, payments, galleries, users, and many more!

Screenshot 2022-12-16 at 5 30 32 PM

DEMO

Access

technologies used

  • 💚 Nuxt  - The Intuitive Vue Framework
  • ♦️ Algolia  - The best Search and Discovery Platform for your business
  • 👽 Vuex  - Vuex is a state management pattern + library for Vue.js applications.
  • 💰 Stripe  - internet payment infrastructure
  • 🛠 Google Maps  -  Cloud APIs allow you to automate workflows using your preferred langua
  • 🃏 Jest  -  Unit/Snapshot Testing
  • 🧩 Commitlint  -  helps your team adhering to a commit convention.
  • 🐻‍❄️ Tailwind  -  Rapidly build modern websites without ever leaving your HTML.

Usage

  • yarn dev - This start application.
  • yarn jest - Run all linting and unit tests before committing.
  • yarn jest -o - Run only the tests that have changed.
  • yarn jest -u - Update all of the snapshot tests.

Install dependencies:

yarn install

Testing

Run Vue components unit tests:

yarn jest

Open test coverage detailed report:

yarn jest:coverage

Commit types

Commit Type Title Description Emoji
feat Features A new feature
fix Bug Fixes A bug Fix 🐛
docs Documentation Documentation only changes 📚
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) 💎
refactor Code Refactoring A code change that neither fixes a bug nor adds a feature 📦
perf Performance Improvements A code change that improves performance 🚀
test Tests Adding missing tests or correcting existing tests 🚨
build Builds Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) 🛠
ci Continuous Integrations Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) ⚙️
chore Chores Other changes that don't modify src or test files ♻️
revert Reverts Reverts a previous commit 🗑