Skip to content

tradesmanhelix/xen-platforms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xen Platforms Interview Challenge

Example app for the Xen Platforms interview challenge.

Demo

Setup

Obtain Code

Clone or download this repository.

Install Dependencies

  • SQLite3

  • OPTIONAL: Install the asdf runtime version manager: https://asdf-vm.com/.

  • Node:

    • In your terminal, enter the project's root directory.
    • Manually install the Node version listed in .tool-versions or install using asdf: asdf install
    • Run npm install to install dependencies.
  • Ruby:

    • In your terminal, enter the project's root directory.
    • Manually install the Ruby version listed in .tool-versions or install using asdf: asdf install
    • Install bundler: gem install bundler
    • Run bundle install to install dependencies.
    • Run ./bin/rails db:setup to set up the database.
    • Load example data into the dev database via: ./bin/rails db:fixtures:load

Start the Application

  1. In your terminal, enter the project's root directory.
  2. Start the backend: ./backend/bin/rails server
  3. Start the frontend: cd ./frontend/ && npm run dev
  4. Visit the indicated frontend URL.

Run Tests

Backend

  1. In your terminal, enter the project's root directory.
  2. Run: cd ./backend && ./bin/rails test

Frontend

  1. In your terminal, enter the project's root directory.
  2. Run: cd ./frontend && npm run test

Things to Note

  • This project took a lot longer than 2 hours, but it was a ton of fun.
  • The tests are a bit light; this is a function of ^^.

About

Xen Platforms interview challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors