Skip to content

Rewrite of Hack at UCI's main club site. Powered by Next.js & Sanity.

Notifications You must be signed in to change notification settings

HackAtUCI/hack.ics.uci.edu

Repository files navigation

hack.ics.uci.edu

Overview

This monorepo uses turborepo with pnpm as a package manager. It contains the following:

apps/site

A Next.js 13 project that uses the new app router.

This app contains the upcoming rewrite for the main Hack at UCI club site.

The development server runs at https://localhost:3000. If this port is taken, the next available port will be used.

apps/studio

A Sanity Studio project.

This app contains the dashboard used to view and edit content stored in Sanity.

The development server runs at https://localhost:3333. If this port is taken, the project will error.

Workspace Setup

This repo used pnpm, a space efficient replacement to npm. You can learn more about it's advantages at https://pnpm.io/.

Install pnpm with the following command, or use an alternative instalation method.

npm install -g pnpm

When running commands, use pnpm rather than npm.

Dependencies

Running the following command will install dependencies for all apps and packages regardless of where it's executed.

pnpm install

When installing a new dependency for an individual app or package, first navigate to the corresponding directory, then run the pnpm add command.

If you want to install a package shared by multiple apps or packages, run the command at the project root. You'll have to use the -w flag (or --workspace-root) to confirm your intention.

Build

To build all apps and packages, run the following command in the project root.

pnpm build

To build an individual app or package, first navigate to the corresponding directory and run the build command.

Develop

To develop all apps and packages, run the following command in the project root.

pnpm dev

To develop an individual app or package, first navigate to the corresponding directory and run the dev command.

License

This repo is currently source available and not licensed under an open source license. This may be subject to change in the future.

Copyright © 2023 Hack at UCI

About

Rewrite of Hack at UCI's main club site. Powered by Next.js & Sanity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published