- Table of Contents
- About The Project
- Built With
- Getting Started
- Prerequisites
- Installation
- Running the Project Locally
- Available Scripts
- Contributors
- License
This repository contains the official backend for Hackulus'25, SIAM-VIT’s flagship hackathon.
The backend provides APIs to manage hackathon tracks, panels, admins, submissions, and related workflows.
Key Features:
- RESTful API built with Node.js and Express.js
- PostgreSQL as the primary database
- JWT-based authentication for admins
- Secure validation and error handling
- Deployed and hosted on Render
This project is built using the following technologies and frameworks:
- Node.js (JavaScript runtime environment)
- Express.js (Fast, unopinionated, minimalist web framework for Node.js)
- PostgreSQL (Open-source relational database)
- JWT (JSON Web Tokens for authentication)
- Render (Platform for deployment)
To get a local copy up and running, follow these simple steps.
Make sure you have the following installed:
- Node.js (v18+ recommended)
- npm (comes with Node.js)
- PostgreSQL
- Clone the repo
git clone https://github.com/SIAM-VIT/hackulus25-be-express.git
- Navigate into the project directory
cd hackulus25-be-express - Install dependencies
npm install
- Set up your environment variables by creating a .env file in the root directory. Example:
PORT=4000 DATABASE_URL=postgresql://<username>:<pwd>@localhost:5432/<dbname> JWT_SECRET= JWT_EXPIRES_IN=15m UPLOAD_DIR=uploads BCRYPT_SALT_ROUNDS=10 SENTRY_DSN= SENTRY_AUTH_TOKEN= REDIS_URL= # Render DB DB_HOSTNAME= DB_PORT= DB_DATABASE= DB_USERNAME= DB_PASSWORD=
npm startThe server will start on http://localhost:4000
In the project directory, run:
npm startRuns the app in production mode.
npm run devRuns the app in development mode using nodemon. The server restarts automatically when code changes are detected.
npm run lintChecks for lint issues.
| Aryan Deshpande (Backend) | Aaryan Shrivastav (Backend) | Rishab Nagwani (Full Stack) |
Distributed under the MIT License. See LICENSE for more information.
Made with ❤️ by SIAM-VIT.
