SPUR needs a streamlined digital platform to manage startup on-boarding, review, and funding processes. The current system relies on fragmented communication channels, creating inefficiencies for both SPUR administrators and startup applicants.
Note
This is the monorepo containing the backend and frontend code for the webapp, as well as code related to the Web3 infrastructure
Clone the repo
git clone https://github.com/KonferCA/SPUR.git
From your terminal, navigate to the root path of your clone
cd path/to/your/clone
SPUR backend requires Go version 1.23
or higher for best compatibility. If you need to install or upgrade Go, visit the official Go download page.
From your terminal, navigate to the backend path of your clone
cd path/to/your/clone/backend
Air (auto-reload backend)
go install github.com/air-verse/[email protected]
SQLc (generate type-safe code from SQL queries)
go install github.com/sqlc-dev/sqlc/cmd/[email protected]
Goose (SQL migration management tool)
go install github.com/pressly/goose/v3/cmd/[email protected]
Make
brew install make
Docker
brew install docker
Important
Make commands only work on unix like systems.
Create a new PostgreSQL instance using Docker
make init-dev-db
Start PostgreSQL for development
make start-dev-db
Check health of DB
make health-dev-db
Run migrations when ready
make up
Start development server
make dev
Note
Use make query "SELECT ... FROM ..."
for quick query on the terminal.
You should also checkout the other available commands in the Makefile.
SPUR frontend requires Node version 22.9.0
or higher for best compatibility. If you need to install or upgrade Node, visit the official Node download page.
From your terminal, navigate to the backend path of your clone
cd path/to/your/clone/frontend
Install pnpm using npm
npm install -g pnpm
Install dependencies
pnpm i
Run local server
pnpm dev