Build Your Own E-Commerce Keystone.js-Based System — Environment Setup and Base Models | by Maciej Krawczyk | Mar, 2022

Photo by Ludovic Charlet on Unsplash
mkdir keystone-e-commerce && cd keystone-e-commerce
touch README.md docker-compose.dev.yml .gitignore .env.example .env
**/node_modules
.env
docker-compose -f docker-compose.dev.yml up
yarn create next-app --typescript
FROM node:16WORKDIR /usr/appCMD yarn dev -p 3000
yarn create keystone-app
mkdir consts enums schema
FROM node:16WORKDIR /usr/appCMD yarn dev
ER diagram
docker-compose -f docker-compose.dev.yml up database
cd backend && yarn dev
docker-compose -f docker-compose.dev.yml up database

Leave a Comment