PeerRich / osshack

The website and web app for OSShack.com

Home Page:https://osshack.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Captura de pantalla 2023-11-06 a las 17 16 12

Join hundreds of the brightest students, hackers and OSS contributors working together and competing in a 3-day long hackathon hosted in NYC and remotely with $100k in prizes at stake!

Introduction

This website contains the unified website and web-app that the entire hackathon is run from. It's written in Remix, and uses Bun with TypeScript, React, Prisma and TailwindCSS.

Feel free to play around with it, use it for your own events or submit a contribution to make the OSSHack website better. Just don't judge my bad code...

Development

You'll need a few things first:

  • Bun
  • PostgreSQL
  • Clerk credentials
  • Tremendous credentials (for prize payouts)
  • Sanity

First, make a copy of the .env.example file and as .env and fill out the environment variables.

Then, just install the dependencies and run the development server is as easy as:

bun install
bunx prisma db push
bunx prisma generate (if necessary)
npm run dev

This starts your app in Remix's development mode, rebuilding assets on file changes.

Deployment

First, build your app for production:

npm run build

Then run the app in production mode:

npm start

Now you'll need to pick a host to deploy it to. It should work with Vercel perfectly, as that's what osshack.com is hosted on. I don't see why it wouldn't work on any other platforms, it's a pretty simple app.

About

The website and web app for OSShack.com

https://osshack.vercel.app


Languages

Language:TypeScript 74.8%Language:JavaScript 25.1%Language:CSS 0.1%