Skip to content

algowars/web

Repository files navigation

Algowars Client

Test Coverage Report

Statements Branches Functions Lines CI

Getting Started


Overview


This repo is the client application for Algowars. This project was built with:

Tech Stack

This project is built with:

  • Next.js
  • Tailwindcss
  • Shadcn
  • Auth0

Testing with this project was built with:

  • Vitest (Unit Testing)
  • Playwright (End to End)

Architecture

The client application was heavily inspired by Bulletproof React. It was built with Tailwindcss and Shadcn so it makes a lot of architecture decisions based off these libraries.

Project Structure

This solution is broken up into multiple important directories:

1. App

Purpose: Contains the routing and related page components. This is required for Next.js.


2. Common

Purpose: Directory containing common components and tools used throughout the application. This directory is meant to be small as a lot of common folders can become bloated.


3. Components

Purpose: This folder contains reusable components throughout the application. All of the Shadcn components stay in the ui folder.


4. Features

Purpose: This folder contains all the components and tools used for a specific feature in the product. These features should not interact with other features.


5. Lib

Purpose: This folder contains all the components and tools that are used for external libraries.


Prerequisites

You need node 24 to work on this.

Before you start, make sure you create a .env file and fill out the necessary information from Auth0.

Setup Env File

Run the following command:

Bash:

cp .env.example .env

Testing

To setup testing. You will need to create a .env.test file and fill out the values similar to .env.example.

About

Website for Algowars. Built with Next.js, React Query, Tailwindcss, and Shadcn.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages