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 install
to install dependencies (we use https://bun.sh for dependency installs)bun run database:start
to bring up the database (runs in docker)cp .env.local.example .env.local
and set local env variablesbun run schema:validate
to check the schema is validbun run schema:push
to push the schema to the databasebun run generate-graphql
to generate the graphql types- Download service account from firebase console and save as
service-account.json
bun run dev
to 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:start
andbun run database:stop
to start and stop the database - run
bun run schema:validate
andbun run schema:push
to update the schema (found at ./schema.graphql) - run
bun run generate-graphql
if the schema has changed to pull the correct types in to the project - use
bun run dev
to start the next.js development server and open http://localhost:3000 to view