Coder Social home page Coder Social logo

juandbta / booking-bites Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 8.9 MB

Built with Ruby on Rails on the backend and React & Redux on the frontend, our responsive web application offers a seamless dining reservation experience. Users can conveniently choose their preferred dining ambience, whether it's the cozy bar, the chic lounge, the scenic rooftop, the tranquil garden, or the vibrant live music area.

Home Page: https://bookingbites-ve9h.onrender.com/

License: MIT License

Ruby 39.64% JavaScript 38.88% CSS 16.89% HTML 4.42% Shell 0.17%
backend-api databases front-end-development pair-programming postgresql react redux redux-toolkit ruby-on-rails teamwork

booking-bites's Introduction

BookingBites App

logo

๐Ÿ“— Table of Contents

๐Ÿ“– [BookingBites APP]

[BookingBites App APP] Built with Ruby on Rails on the backend and React & Redux on the frontend, our responsive web application offers a seamless dining reservation experience. Users can conveniently choose their preferred dining ambience, whether it's the cozy bar, the chic lounge, the scenic rooftop, the tranquil garden, or the vibrant live music area. This project represents the final capstone of our Microverse journey. And this is the link of the repo that contains both the frontend and the backend Booking bites repo

๐Ÿ›  Built With

1- Ruby 3.2.2
2- Rails 7.0.7.2
3- PostgreSQL
4- React & Redux
5- Gitflow
6- Rubocop
7- Rspec
8- Jest

Tech Stack

Client
Ruby
Rails
Database
React
Redux

Key Features

  • [Set up the repository and tools]
  • [Created the home page to display Sections]
  • [Created the Add Section page to add a Section]
  • [Created the splash page]
  • [Created registration and login page]
  • [Created the page to add a reservation]
  • [Created the reservations page]
  • [Added tests]

Kanban Board

We are two people working on this project: @beteland123 and @JuanDBta.

Check our Kanban Board

This is our empty Kanban Board:

kanban_bored_empty

This is our Kanban after creating the cards:

kanban_with_the_task

(back to top)

๐Ÿš€ Live Demo

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Web Browser (Chrome recommended)
Code editor (VS recommended)
GitHub account

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone "https://github.com/JuanDBta/booking-bites.git"

Install

Go to your /booking-bites folder:

  cd booking-bites
  bundle install
  npm install

Usage

  1. Once the setup is complete, ensure you are still in the directory containing the Ultimate Booking bites file files.

  2. To set up the database and seed initial data, run the following commands:

rails db:create
rails db:migrate

This will create the database and apply migrations.

If you want to populate the database you can run (this step is not required):

rails db:seed

To run the app in development mode, execute the following command:

  npm run build
  rails server

Run Tests

To run the test, execute the following command:

npx jest
rspec spec

Deployment

You can deploy this project using:
- BookingBites App

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Micronaut Betel Andarge

๐Ÿ‘ค Micronaut JUAN DAVID DIAZ

(back to top)

๐Ÿ”ญ Future Features

  • [Add animations and transitions]
  • [Add more functionalities to navigation bar]
  • [Add functionality to the delete section page]

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project, please give me a like, it doesn't cost you anything and it helps me a lot to keep working.

(back to top)

๐Ÿ™ Acknowledgments

We would like to thank Bee in Student Success who is always avalaible to solve issues and Microverse for push us to work hard every day!

Credit goes to Murat Korkmaz on Behance whose original design was used.

(back to top)

โ“ FAQ

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

booking-bites's People

Contributors

beteland123 avatar juandbta avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

beteland123

booking-bites's Issues

CREATE RESERVATIONS FORM (REACT) [3pts]

To reserve a section, the user has to select a date and city (username and selected item are autofilled).
Use the design based on the "Book a vespa test-ride" and add all necessary inputs.

The user can also access the "Reserve" page from the navigation panel. In that case only username is autofilled.

Make the page responsive to Mobile and Desktop version.

Reservations Controller [5pts]

Generate Reservations Controller
Add actions to: new, create, index
Add routes to Reservations
Create API endpoint

NOTE: You have to return the outcome of the action in JSON format.

CREATE NAVIGATION BAR (REACT) [3pts]

In the navigation panel, the user can see links to:
Sections
"Reserve" form.
"My reservations".
"Add Section" (the link is visible to everybody).
"Delete Section" (the link is visible to everybody).
Make the NavBar responsive to Mobile and Desktop version.

SETUP [3pts]

Install Rails App with webpack bundler
Install gems (Rubocop, Rack-cors, CanCanCan)
Config cors.rb file
Install React & Redux
Install Redux Toolkit Package
Install packages react-dom, react-icons, react-router
Install stylelint package
Create babel.config.js
Update webpack.config.js

CREATE SPLASH PAGE [4pts]

The user logs in to the website, only by typing the username.
Add buttons to Login In and Sign Up (registration form).

Make the app responsive, creating both mobile and desktop versions.

CREATE DETAILS SECTION PAGE (REACT) [3pts]

Follow the Behance design and stick to it.
On the Details page, the user can see the Section details
When the user selects a specific item, they can see the details page with its full description (skip the "Rotate image" button).
In the details page, the user can click the "Reserve" button (in the design you can see the "Configure" button - please replace it with the "Reserve" button).
Make the page responsive to Mobile and Desktop Version.

CREATE ADD SECTION PAGE (REACT) [3pts]

When the user clicks the "Add Section" link in the navigation panel they can see a form for adding a new section.

Make the app responsive, creating both mobile and desktop versions.

Sections Controller [5pts]

Generate Sections Controller
Add actions to: new, create, index, show
Add routes to Sections
Create API endpoint

NOTE: You have to return the outcome of the action in JSON format.

CREATE MY RESERVATIONS PAGE (REACT) [3pts]

When the user clicks the "My reservations" link in the navigation panel they can see a list of their reservations (with information about item name, date and city).

Make the page responsive to Mobile and Desktop version.

DATABASE MIGRATION [3pts]

Create Database in PostgreSQL
Config database.yml
Create Migrations for tables: users, restaurants, reservations, sections.
Run Migrations
Create Models with Relations and Validations: user, restaurant, reservation, section.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.