Home

Awesome

<div align="center"> <img src="images/hibiscus-platform-logo.png"> </div> <h2 align="center">Hibiscus</h2> <h3 align="center" style="font-style: italic;">An all-in-one, plug-and-play hackathon platform</h3> <hr/>

As a part of our 2023's effort to revamp the entire organization, Engineering moved forward with a robust multiplatforms approach to enhance the event and experience for Hackers. This repository is the main monorepo / source of truth for all platforms created for HackSC by the Engineering organizer team. Our hope is that by open-sourcing our work, other organizations can easily adopt our platforms as basic infrastructure to hold their own hackathons.

This monorepo is powered by Nx, a smart, fast and extensible build system.

Technologies

Features

(we will add more as we continue developing out features and add more apps)

Applications

Libraries

Generators and tools

Generate an application

Run yarn nx g @nrwl/next:application to generate a NextJS application.

You can use any of the plugins above to generate applications as well.

When using Nx, you can create multiple applications and libraries in the same workspace.

Generate a library

Run yarn nx generate @nrwl/node:library my-library_name to generate a library.

You can also use any of the plugins above to generate libraries as well.

Libraries are shareable across libraries and applications. They can be imported from @hibiscus/mylib.

Development server

Run yarn nx serve my-app for a dev server. Navigate to http://localhost:4200/ (or the port specified by the app). The app will automatically reload if you change any of the source files.

Code scaffolding

Run yarn nx g @nrwl/react:component my-component --project=my-app to generate a new component.

Build

Run yarn nx build my-app to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run yarn nx test my-app to execute the unit tests via Jest.

Run yarn nx affected:test to execute the unit tests affected by a change.

Running end-to-end tests

Run yarn nx e2e my-app to execute the end-to-end tests via Cypress.

Run yarn nx affected:e2e to execute the end-to-end tests affected by a change.

Understand your workspace

Run yarn nx graph to see a diagram of the dependencies of your projects.

Further help

Visit the Nx Documentation to learn more.