Skip to content

Mock Trial at UCR is a student-run team where members take on roles as attorneys or witnesses to compete in simulated court cases. It’s a chance to practice public speaking, debate, and performance by arguing cases or portraying characters in trial.

Notifications You must be signed in to change notification settings

acm-ucr/mock-trial-website

Repository files navigation

Mock Trial Website

Next.js TypeScript TailwindCSS ReactQuery ShadCN
ESLint Prettier GitHub Actions Figma

Figma

Mock Trial Figma Design File

Node.js

Mock Trial runs on Node.js Version 20.10.0 and higher. Please ensure you have Node.js installed via the official website.

Next.js

This project is built using Next.js, a React framework. Next.js is automatically installed when you install all dependencies for this project.

Environment Variables

The following environment variables are required and must be stored in an .env file:

N/A

Commands

Dependencies

# Install dependencies npm i # Add dependency npm i <dependency> # Remove dependency npm un <dependency>

Running the Website Locally

# Open a browser at localhost:3000 npm run dev

Formatting Code via Prettier

# Rewrite code recursively with proper formatting npm run format # Show formatting differences recursively npm run check

Linting Code via Eslint

npm run eslint

Build the Website

npm run build

About

Mock Trial at UCR is a student-run team where members take on roles as attorneys or witnesses to compete in simulated court cases. It’s a chance to practice public speaking, debate, and performance by arguing cases or portraying characters in trial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published