GithubHelp home page GithubHelp logo

carebit-demo's Introduction

Get Started

  1. Clone repo
  2. Inside repo root run bundle install && cd clients/admin && npm install && cd -
  3. Run rails db:setup to create the database and seed it with some data
  4. Run rails s in one terminal window and cd clients/admin && npm run dev in another
  5. Visit the vite app in the browser

The main page for creating, viewing, editing, and deleting patients is at /patients.

Project Specs

Rails 7 and Ruby 3.3

For the tech task, it would be great to see a little Rails + React app to allow the user to create, view, edit, delete and search for patients.

  • Rails 7 app backed by Postgres as the database (if on Mac, Postgres.app is handy)
  • Database migration to create a patients table with a few relevant fields
  • Controller and model; controller accepts and returns JSON for each of the relevant RESTful actions
  • RSpec request specs for the controller for integration testing
  • For simplicity's sake, searching can just be on one field instead of using a gem like Ransack
  • The JSON data is consumed by the React app (we usually just put the React app code in an 'admin' folder in the RAILS_ROOT/clients directory so it's a monorepo)
  • Vite (https://vitejs.dev/) is what we use for running a local React environment
  • We use Tailwind for CSS but you can use what you like for styling
  • The design should look like a typical SaaS app with a vertical navigation on the left hand side and then a wider main body to the right of it where the page content is displayed.
  • Bonus points for design and UX
  • Don't worry about authentication/authorization
  • Deliverable will be a single ZIP file or single public GitHub repo so I can run bundle install and npm install to install dependencies, then run rails db:setup and finally boot the Rails and Vite servers.

As I mentioned, we aim for 2-3 hours to be spent on this and ideally would like to have the deliverable back in 7 days or so. Do let me know if you have any questions and looking forward to seeing your work!

carebit-demo's People

Contributors

nmajor 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.