Code Monkey home page Code Monkey logo

eventz's Introduction

Eventz - a sample Ruby on Rails app

Development

Fork this repository and clone it locally. Follow this guide if you need help.

You will need to setup postgresql and redis. You can use homebrew for installing on a mac:

brew install postgresql
brew install redis

brew services start postgresql
brew services start redis

Run the following commands to setup your environment:

  • bin/rails db:create for creating the database locally
  • bin/rails db:migrate for running all migrations

The following commands are used for development:

  • bin/dev will start your Rails server and all associated processes using the Procfile
  • bin/rails c will start your Rails console

Testing

The test suite is written using Minitest.

# Run the entire test suite
bin/rails test

# Run all model tests
bin/rails test test/models

# Run a specific test file
bin/rails test test/models/event_test.rb

# Run the example at a specific line number in the given test file
bin/rails test test/models/event_test.rb:4

Technology stack

  • Ruby 3.0.1.
  • Rails 7.0.

I have not added any additional gems. The goal is to keep it as vanilla Rails as possible.

See the Gemfile for all dependencies and their respective versions.

eventz's People

Contributors

0xjarmenkell 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.