Virtual Makerspace is a collaborative platform designed to facilitate remote making and creativity. This README provides step-by-step instructions to set up and run the project locally.
- Node.js v20.10.0
- pnpm
- Docker (for database)
Ensure you're using the correct Node.js version:
nvm useInstall all project dependencies:
# From project root
pnpm install:allLaunch PostgreSQL and Adminer using Docker:
# From project root
docker-compose up -dGenerate and apply database migrations:
# From backend directory
pnpm generate
pnpm migrateRun the backend server:
# From project root
pnpm backend # Runs Apollo Sandbox at port 5000Alternatively, open Prisma Studio:
# From backend directory
pnpm studioPopulate the database with default user and schedule data:
# From backend directory
pnpm initData# From frontend directory
pnpm codegen# From project root
pnpm frontend # Runs React app at port 5173To release a port (replace 8080 with your specific port):
sudo kill -9 $(sudo lsof -t -i:8080)