-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final group capstone - Book an Appointment #19
base: main
Are you sure you want to change the base?
Changes from all commits
b23a2bf
cad4403
fb0d09d
9b51085
7352c68
74ad1c2
fe33277
8e2aa6e
351b94f
b934aa3
5e26fbc
b17ceb4
d975c5c
a7d1a0d
1b11e67
88c6569
c47f209
4458b34
e12a921
44ad571
5c2fd66
c97e4fd
d34b2ab
469d2c3
b337384
2a7496a
10e6086
f705f72
2799570
fe245bd
8aae67c
78042bb
b3c62f7
cdd4cc3
5343021
a509ef4
fac2005
d540de3
816a6b4
addfc08
fe906a8
6f8d159
4aefb86
c0c480b
bc9ce43
6d94990
2d6f2bb
f5860f8
f1c7917
d8f47f7
6b63581
f23c87d
b7c0b98
c44c7f0
ff6e9f4
0b5be4f
48a330f
7d3edc3
9c989f1
fbd6459
8edba55
978e97f
9cdc125
9a044b1
378d6e1
2f8c4af
fee861c
5f718b6
e48077f
bc29d79
afa1707
3e3f9c0
79a71dc
9077411
1d7f3ea
3d19bf7
d920ace
975a0e4
1c5536e
8c3b5c4
11c8ad0
2296969
918ab4e
95cfacc
a7d570a
618aa78
23c0aef
4995fa1
eff5ce8
a6a223f
ddd97e7
c19ad5b
f9aa151
3ebc804
c2f12be
bf58a09
225bd4e
13dd2b6
4ac59a2
aed23de
e1fed4c
82963b6
813cc60
987a2f6
4ec7a10
dd38f0e
21e9b03
3fc346d
6f4d525
27f32ff
b835e5f
b15be6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-react" | ||
], | ||
"plugins": ["@babel/plugin-syntax-jsx"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"jest": true | ||
}, | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"extends": ["airbnb", "plugin:react/recommended", "plugin:react-hooks/recommended"], | ||
"plugins": ["react"], | ||
"rules": { | ||
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }], | ||
"react/react-in-jsx-scope": "off", | ||
"import/no-unresolved": "off", | ||
"no-shadow": "off" | ||
}, | ||
"ignorePatterns": [ | ||
"dist/", | ||
"build/" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Linters | ||
|
||
on: pull_request | ||
|
||
env: | ||
FORCE_COLOR: 1 | ||
|
||
jobs: | ||
eslint: | ||
name: ESLint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
- name: Setup ESLint | ||
run: | | ||
npm install --save-dev eslint@7.x eslint-config-airbnb@18.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@4.x @babel/eslint-parser@7.x @babel/core@7.x @babel/plugin-syntax-jsx@7.x @babel/preset-env@7.x @babel/preset-react@7.x | ||
[ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.eslintrc.json | ||
[ -f .babelrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.babelrc | ||
- name: ESLint Report | ||
run: npx eslint . | ||
stylelint: | ||
name: Stylelint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
- name: Setup Stylelint | ||
run: | | ||
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x | ||
[ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.stylelintrc.json | ||
- name: Stylelint Report | ||
run: npx stylelint "**/*.{css,scss}" | ||
nodechecker: | ||
name: node_modules checker | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check node_modules existence | ||
run: | | ||
if [ -d "node_modules/" ]; then echo -e "\e[1;31mThe node_modules/ folder was pushed to the repo. Please remove it from the GitHub repository and try again."; echo -e "\e[1;32mYou can set up a .gitignore file with this folder included on it to prevent this from happening in the future." && exit 1; fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"extends": ["stylelint-config-standard"], | ||
"plugins": ["stylelint-scss", "stylelint-csstree-validator"], | ||
"rules": { | ||
"at-rule-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"] | ||
} | ||
], | ||
"scss/at-rule-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"] | ||
} | ||
], | ||
"csstree/validator": true | ||
}, | ||
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css", "**/*.js", "**/*.jsx"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,124 @@ | ||
# cars-bnb-frontend | ||
# Cars BnB App | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
You could use rswag. It's simple to use, and it adds tests and documentation at the same time. 💪 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
## Welcome! 👋 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
> #### Cars BnB App | ||
> | ||
> This is a simple app that allows users to rent cars from other users. A user can create a car listing, and other users can rent the car for a specified period of time. The app is built using Ruby on Rails and Bootstrap. | ||
## Screenshots | ||
### Splash Page | ||
|
||
 | ||
## Car Listings | ||
 | ||
## Reservation Page | ||
 | ||
## Mobile View | ||
 | ||
|
||
## Back-end App(API) | ||
|
||
> [API](https://github.com/Abdo9826/cars-bnb-backend) | ||
|
||
## Built With ✔️ | ||
|
||
- React 🔥 | ||
- redux toolkit | ||
- Bootstrap CSS 😋 | ||
|
||
## Live link 🙌 | ||
|
||
[LINK](https://63666fbc53628775d8aaf544--stately-tulumba-fce256.netlify.app/) | ||
|
||
## Kanban Board 📝 | ||
### Initial Planning | ||
 | ||
|
||
## Link to kanban board | ||
|
||
[Link to Kanban Board](https://github.com/users/Abdo9826/projects/4/views/1) | ||
|
||
## Getting Started 🙌 | ||
|
||
To get a local copy up and running follow these simple example steps. | ||
|
||
### Prerequisites | ||
|
||
``` | ||
node js | ||
npm | ||
|
||
``` | ||
or | ||
``` | ||
yarn | ||
``` | ||
|
||
### Setup | ||
|
||
Clone the repository and change the directory to portfolio | ||
|
||
``` | ||
`$ git clone https://github.com/Abdo9826/cars-bnb-frontend.git` | ||
|
||
`$ cd cars-bnb-frontend` | ||
|
||
``` | ||
|
||
### Install | ||
|
||
Install all project dependencies by running the command below | ||
|
||
``` | ||
` $ npm install` or ` $ yarn install` | ||
``` | ||
|
||
### Usage | ||
|
||
Run | ||
|
||
``` | ||
`$ npm start or deploy the index.html from the build/public folder` | ||
or | ||
`$ yarn start or deploy the index.html from the build/public folder` | ||
``` | ||
|
||
### Deployment | ||
|
||
- [Visit Application Homepage](#) | ||
|
||
### Authors | ||
|
||
| 👤 Name | Github | Twitter | LinkedIn | | ||
| --------------- | ---------------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------- | | ||
| Robertson Akpan | [@bobb-rob](https://github.com/bobb-rob) | [@\_\_\_Robertson](https://twitter.com/___Robertson) | [@RobertsonAkpan](https://www.linkedin.com/in/robertsonakpan/) | | ||
|
||
| 👤 Name | Github | Twitter | LinkedIn | | ||
| ------- | ------------------------------------ | --------------------------------- | ------------------------------------------ | | ||
| Abdo | [@abdo](https://github.com/Abdo9826) | [@Abdo](https://twitter.com/Abdo) | [@Abdo](https://www.linkedin.com/in/Abdo/) | | ||
|
||
| 👤 Name | Github | Twitter | LinkedIn | | ||
| ------- | ------------------------------------ | ---------------------------------- | -------------------------------------------- | | ||
| Sigie | [@ksigei](https://github.com/ksigei) | [@Abdo](https://twitter.com/sigie) | [@sigie](https://www.linkedin.com/in/sigie/) | | ||
|
||
| 👤 Name | Github | Twitter | LinkedIn | | ||
| ------------- | ------------------------------------------ | -------------------------------------- | ------------------------------------------------ | | ||
| Shahnawaz Ali | [@Shahnawaz](https://github.com/Shahnawaz) | [@Abdo](https://twitter.com/Shahnawaz) | [@sigie](https://www.linkedin.com/in/Shahnawaz/) | | ||
|
||
## 🤝 Contributing | ||
|
||
Contributions, issues, and feature requests are welcome! | ||
|
||
## Show your support | ||
|
||
Give a ⭐️ if you like this project! | ||
|
||
## Acknowledgments | ||
|
||
- Hat tip to Microverse team for inspiring this project. | ||
- Hat tip to anyone whose code was used | ||
- Hat tip to [Murat Korkmaz](https://www.behance.net/gallery/26425031/Vespa-Responsive-Redesign) for the design inspiration | ||
|
||
## 📝 License | ||
|
||
All rights reserved. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Tips and extra helpGo [here] (https://github.com/microverseinc/readme-template), grab the That way, your app will be well documented 💪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means I couldn't review both the backend and the frontend functionality because there was no API running to consume. Also, I wasn't able to run the tests (because I couldn't create the db).
On the frontend, I was able to get to the initial screen, but not any further.
If this is a bug, kindly fix it. If this is not a bug and your app requires something extra not mentioned in your instructions, kindly add it.
Kindly ensure the app works (both backend and frontend) to make a proper review on the functionality.
Since there is no PR for the backend, I'll leave my comments here in this review.