Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 1.24 KB

README.md

File metadata and controls

75 lines (52 loc) · 1.24 KB

Aryon Test

Tech Stack

  • React
  • TypeScript
  • Vite
  • TanStack Router
  • TanStack Query
  • Tailwind CSS
  • Vitest + Testing Library
  • Zod
  • React Hook Form
  • Prettier & ESlint

Prerequisites

  • Node.js
  • npm

Getting Started

  1. Clone the repository:
git clone https://github.com/Iamsheye/savannah-test.git
cd savannah-test
  1. Install all dependencies (both frontend and server):
 npm run install:all
  1. Create a .env file in the frontend directory with the following variables:
VITE_API_URL=http://localhost:3001
  1. Start the development server:
npm run dev

The application will be available at:

Testing

The project uses Vitest and Testing Library for testing. Run the test suite with:

npm run test

For coverage report:

npm run test:cov

Coverage reports will be generated in the coverage directory.

Available Scripts

  • npm run dev - Start both frontend and backend servers
  • npm run dev:auth - Start both servers with authentication enabled
  • npm run build - Build both frontend and backend
  • npm run test - Run frontend tests
  • npm run test:cov - Generate test coverage report