An event planning application built with a Ruby on Rails API backend and a React and Redux frontend.
This app was built for the Flatiron School React project and is meant to let a user see all the upcoming events by month, listed by date, to see which events he or she would like to attend in the future. Any user that signs up, can log in, be automatically logged in, see what events other users have added to any month, add his or her own event, delete his or her own event, and search an event within a month by the event's name and/or description. A user can add or delete as many events as he or she would like. A user can only delete events created by his or herself, not others. All events are listed by the date in ascending order.
Frontend: HTML, CSS, React, Redux, React Bootstrap -> here
To install and run the app on your local machine:
- Fork and click the green Clone or download button above and click the copy to clipboard button (for both a_bowl_of_cherries_frontend & a_bowl_of_cherries_backend)
- Open your Terminal with two tabs
- Direct the first tab to a_bowl_of_cherries_backend, run
git clone [paste the link from step 1]
- Direct second tab to a_bowl_of_cherries_frontend, run
git clone [paste the link from step 1]
- In the first tab for a_bowl_of_cherries_backend:
- Run
bundle install
to install the necessary gems and dependencies - Run
rails db:create
to create a database - Run
rails db:migrate
to perform the database migrations - Run
rails db:seed
to fill the database with month information - Create an
.env
file in the root directory and add this inside itJWT_KEY="put any word you'd like here"
to use JWT
Note: Since the
.env
file will not contain any sensitive information, you do not need to add it to your.gitignore
file, but usually a.env
file should not be tracked, committed or pushed to Github.
- Run
rails s
to access and use the Rails API and open the server
- In the second tab to a_bowl_of_cherries_frontend:
- Run
npm install && start
to have the browser open A Bowl Of Cherries' homepage
Bug reports and pull requests are welcome on GitHub at https://github.com/LehuaRyon/a_bowl_of_cherries_backend. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Ukulele's project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.