https://github.com/kanevk/bookings-task
A task for BookingsPlus
https://github.com/kanevk/bookings-task
Last synced: 3 months ago
JSON representation
A task for BookingsPlus
- Host: GitHub
- URL: https://github.com/kanevk/bookings-task
- Owner: kanevk
- Created: 2020-11-13T08:26:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-13T09:57:40.000Z (over 4 years ago)
- Last Synced: 2025-01-17T20:41:16.750Z (4 months ago)
- Language: Ruby
- Size: 235 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bookings-task
A task for BookingsPlus## Task description
Create a rails app with a an API endpoint to return a collection of bookings
Use react to consume the API and display the list of bookings
Allow a user to filter bookings by space
Bookings should have a start/end date, description and space_id## Task notes
Feel free to implement the API with whichever library you prefer
Feel free to use react-rails if this makes getting up and running easier
Try and stick to an hour for this task
Follow you're usual development practices**The candidates should provide a link to a repo on Github containing the code sample.**
## Run the API
```
cd api && bundle
bundle exec rails db:setup && bundle exec rails db:seed
PORT=3001 bundle exec rails s
```## Run the client
```
cd client
yarn install
yarn start
```