Giter Club home page Giter Club logo

eventbrite-v1's Introduction

Bienvenue sur mon super concurrent de EventBrite !

La marche à suivre pour récupérer et tester l'application :

Récupérer le projet en local

git clone https://github.com/fr3d100/eventbrite-v1

Charger les gem du Gemfile

bundle install

Créer les bases de données

rails db:create

Charger le modèle de donnée en base

rails db:migrate

Charger des données

rails db:seed

La marche à suivre pour lancer les tests de l'application

rspec

La marche à suivre pour vérifier que les mails fonctionnent correctement

Lancer la console

rails console

Créer un utilisateur (:warning:rentre bien ton vrai mail:warning:)

u = User.create(first_name: "John", last_name: "Doe", email: "[email protected]", description: "La super desc de l'utilisateur que tu viens de créer", encrypted_password: "azerty")

Créer un événement

e = Event.create(title:'May awesome event', description:'That will be really be an awesome event !', start_date: Time.now+30, duration: 90, location: 'Ibiza', price: 100, admin: u)

Créer un attendance

a = Attendance.create(event: e, user: u, stripe_customer_id: "123")

Fait avec ♥️ par @Fred

eventbrite-v1's People

Contributors

fr3d100 avatar

Watchers

James Cloos avatar  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.