Pumped is an online store with the focus on shoes, built to be a simple and easy platform for customers. This is an example project and is absolutely not production ready. To Build a production ready online store look in to using Shopify.
bun installto install dependencies (we use https://bun.sh for dependency installs)bun run database:startto bring up the database (runs in docker)cp .env.local.example .env.localand set local env variablesbun run schema:validateto check the schema is validbun run schema:pushto push the schema to the databasebun run generate-graphqlto generate the graphql types- Download service account from firebase console and save as
service-account.json bun run devto bring up next.js
Next.js will only check types of the code your currently running, you can run bun run typecheck:watch to typecheck the entire codebase
- use
bun run database:startandbun run database:stopto start and stop the database - run
bun run schema:validateandbun run schema:pushto update the schema (found at ./schema.graphql) - run
bun run generate-graphqlif the schema has changed to pull the correct types in to the project - use
bun run devto start the next.js development server and open http://localhost:3000 to view