Skip to content

aceup/tech-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aceup Tech Assessment

This repository contains two projects:

  • frontend/: React 19 + Vite application
  • backend/: Ruby on Rails 7.2 API-only application (Ruby 3.2)

All services run in Docker using docker-compose.

Prerequisites

Quick Start

  1. Build and start all services:
make build
  1. Access the apps:
  1. Database
  • Postgres runs in the db service.
  • Default credentials (see docker-compose.yml):
    • Host: db
    • Username: postgres
    • Password: postgres
    • Database: aceup_db
  1. First-time Rails setup (run in another terminal):
make db.init

Useful Commands

  • Rebuild images after dependency changes:

    make build
  • Start the services:

    make start
  • Stop all services:

    make stop
  • Go into rails console:

    make rails.c
  • Go into bash console:

    make sh
  • Run migrations:

    make db.migrate

Exercise

Following the MVCS pattern (Model, View, Controller, Service), create a very simple order management system.

Frontend

  • Create a Dashboard with at least 1 stat (# of orders created)
  • Create an order table | New Order button | New Order dialog
  • Refresh orders after new is created

Backend

  • Orders crud
  • Send an email after order is created

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published