Giter VIP home page Giter VIP logo

private-events's Introduction

Private Events

Table of Contents

About the project

This application lets the users create new events, attend it, and invite other users to their own.


App Diagram

Screenshot - 1920 x 1080


Built With

  • Ruby 2.7.1
  • Rails 6.0.2.2
  • Rspec 3.9

Prerequisites

  • Ruby 2.7.1
  • postgresql 10.12

Install

git clone https://github.com/AlfredoElizarraras/Private-events.git

On the command line:

  • sudo -u postgres psql
  • CREATE ROLE events WITH CREATEDB LOGIN PASSWORD 'pass123';
  • Exit postgres console \q
  • Make sure you have your yarn packages up to date. If not:
  • yarn install --check-files

Before testing (For running the test you will need to install capybara web kit before the bundle)

  • sudo apt-get update
  • sudo apt-get install qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x
  • bundler install
  • rails db:setup

Authors

This project is completed by Carlos Santamaría and Oscar Alfredo Gómez Elizarrarás, in partial requirements of the Microverse cirriculum.

👤 Carlos Santamaria

👤 Oscar Alfredo Gómez Elizarrarás


Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments


License

This project is MIT licensed.

Copyright 2020 Carlos Santamaria and Oscar Alfredo Gómez Elizarrarás

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.


private-events's People

Contributors

alfredoelizarraras avatar flakster avatar dependabot[bot] avatar

Stargazers

Seth Zea avatar Miguel Tapia avatar Kiroko Njenga avatar

Watchers

James Cloos avatar

private-events's Issues

## Add partials for:

  • upcoming created by the user
  • previous created by the user
  • upcoming attended by the user
  • previous attended by the user

## Add if the event is public or not:

In order to show only public events, change the listing of:

  • Upcoming events
  • Previous events
  • Upcoming created by the user
  • Previous created by the user

Peer to peer code review by Team-65-The-Labradors

Peer to peer code review: Team-65-The-Labradors 🐕‍🦺

Hello Oscar and Carlos 👋

Great job so far, your project looks very professional and you've managed to handle eager loading very well so you should feel very proud of yourselves 🏅 🏅

I only have one suggestion: to make your create method in the Event controller less crowded put the date formatting code that you have in your @event.date in a private method

That's all so far 👏

Continue a great job 💯

Peer to peer code review by Team-65-the-Labradors

Hello Oscar and Carlos 🐕‍🦺

Congratulations! your project looks great and works very well, we only have some suggestions about where to put the code:

  1. Use partials to render repetitive code and to remove logic from Views
  2. It is not necessary to render String variables with HTML code for that you could use partials or you could use loops within views that's not a bad practice and it's actually more understandable
  3. we strongly suggest displaying your flash messages for errors in the application.html.erb instead of doing it in each view to avoid repeating yourself and keep your code DRY

That's it! 🙌

Keep up the good work 🏅 🏅

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.