pjg / smhw-event-calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Events Calendar

Team Satchel's recruitment coding task. The task is about:

  • displaying a calendar view with current day highlighted
  • displaying events in the calendar as continuous blocks spanning multiple days
  • having the ability to add new event, which would be instantly displayed on the page (no reload)

Finished application looks like this:

Application screenshot

Installation

To install required backend dependencies run:

bin/setup

Note, that you might want to edit the defaults in config/database.yml afterwards.

To install required frontend dependencies run:

cd frontend && npm install

Running

Start the backend server:

bin/rails server

Start the frontend app:

cd frontend
npm run serve

Then visit http://localhost:8080 to see the app running.

Running specs

Backend specs:

bin/rspec spec

Frontend unit specs:

cd frontend && npm run test:unit

Frontend e2e specs:

cd frontend && npm run test:e2e

About


Languages

Language:Ruby 59.6%Language:JavaScript 19.3%Language:Vue 13.2%Language:HTML 7.9%