This application is meant to be a demonstration of the skills I learned in my programming course. It utilizes a PostgreSQL database, Ruby on Rails backend, and the React framework for the frontend. I am currently working on implementing more MUI tools, such as the calendar. My focus on this application was the functionality between the back and front ends.
Requirement | Version |
---|---|
Ruby | 2.7.5 |
Rails | 7.0.2.3 |
PostgreSQL | 14.1 |
Node | 16.13.2 |
React | 17.0.2 |
MUI | 5.5.3 |
Date FNS | 2.28.0 |
-
Ruby:
Runrvm install 2.7.5 --default
Also install the latest versions of bundler and railsgem install bundler gem install rails
-
PostgreSQL
Easily installable on OSX with homebrew.
Runbrew install postgresql
After installation is complete, runbrew services start postgresql
to start Postgres services. -
Node
Runnvm install 16 nvm use 16
to install and set node 16 as default.
-
React
Runnpm install react@17.0.2
-
Date FNS
Runnpm install @date-io/date-fns
-
MUI and datetime picker
Runnpm install @mui/material @emotion/react @emotion/styled npm install @material-ui/pickers
- The application initially directs the user to a login page, with an option to create a username and password for new users. If you do not run
rails db:seed
to populate with the provided seed file, you can create your own username at this time.
- After logging in or creating a username/password to login with, you are directed to the home page which renders a list of randomly generated restaurants and their attributes.
- You can add any of the restaurants to your profile's "favorites" section, or make reservations at each restaurant through the datetime picker.
- You can view and edit your current list of favorites and reservations by navigating to the appropriate section via the navbar at the top of the screen.
I am currently working on replacing the old calendar and time selection tool I was using with MUI's datetime picker tool.
MIT License
Copyright (c) [2022] [Michael Kienbusch]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.