Giter Site home page Giter Site logo

garciajordy / private_events Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 216 KB

In this private_event project, we created a simple website where the user must first login before creating events. Users also can exchange invitations only for their own events.

Ruby 73.36% JavaScript 4.80% CSS 0.98% SCSS 1.21% HTML 19.65%

private_events's Introduction

Private_events

In this private_event project we created a simple website where user must first login before creating events. Users also can exchange invitations only for their own events.

Built With

  • Ruby on Rails
  • Active Record
  • Bootstrap 4
  • Ruby

Getting Started

To get a local copy of the repository please run the following commands on your terminal:

$ cd <folder>
$ git clone [email protected]:garciajordy/private_events.git 
$ cd private_events

Install webpack

$ rails webpacker:install 

Migrate the database

$ rails db:migrate

Install Rspec gems

$ bundle install

Run the rails server

$ rails server

In order to use the website signup here:

$ http://localhost:3000/signup

To create an event , navigate to:

$ http://localhost:3000/events/new

To invite a friend , navigate to:

  • User's show page by clicking on <name>'s Page navigation link in the top right navbar.
  • Event show page by clicking on the show button on your event card.
  • Choose friend's name from the select options and click invite.

Rspec testing

To test all models and scopes, write the following in your terminal:

$ rspec spec/models/user_spec.rb
$ rspec spec/models/event_spec.rb
$ rspec spec/models/invite_spec.rb

AUTHOR

Jordy Garcia

  • Github:
  • Linkedin:
  • Twitter:

Donat

  • Github:
  • Linkedin:
  • Twitter:

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

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

License

private_events's People

Contributors

garciajordy avatar uwadonat avatar

Stargazers

Polina avatar  avatar

Watchers

 avatar

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.