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 use
Install all project dependencies:
# From project root
pnpm install:all
Launch PostgreSQL and Adminer using Docker:
# From project root
docker-compose up -d
Generate and apply database migrations:
# From backend directory
pnpm generate
pnpm migrate
Run the backend server:
# From project root
pnpm backend # Runs Apollo Sandbox at port 5000
Alternatively, open Prisma Studio:
# From backend directory
pnpm studio
Populate 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 5173
To release a port (replace 8080
with your specific port):
sudo kill -9 $(sudo lsof -t -i:8080)