xspynks / Fullstack-Developer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Umanni - Full Stack Developer Test

This project was created for the Umanni Full Stack Developer test.

Getting started

Prerequisites

  • Docker

Running the project

We are using Docked Rails on the development, the new Rails official approach for Docker. Also, Rails 7.1 bring us a official Dockerfile to be used in production.

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Create the docker volume with docker volume create ruby-bundle-cache
  4. Add the docked alias to your console with alias docked='docker run --rm -it -v ${PWD}:/rails -v ruby-bundle-cache:/bundle -p 3000:3000 ghcr.io/rails/cli'
  5. Install Rails dependencies with docked bundle install
  6. Install Node dependencies with docked yarn install or docked npm install
  7. Run the server with docked bin/dev
  8. Access http://localhost:3000
  9. Migrate the database on the browser

Running without Docker

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run bundle install
  4. Run npm install or yarn install
  5. Run bin/dev
  6. Access http://localhost:3000
  7. Migrate the database on the browser

Tech Stack

  • Ruby on Rails 7.1 (alpha)
  • Hotwire
  • Tailwind CSS
  • esbuild
  • SQLite
  • Docker

About


Languages

Language:Ruby 65.1%Language:HTML 31.6%Language:Dockerfile 2.0%Language:JavaScript 1.1%Language:Shell 0.3%Language:CSS 0.0%