/store-graphql

curso de graphql de platzi

Primary LanguageJavaScript

store

API de una tienda en linea con node y postgres

getting started

# install dependencies
npm install

# copy docker-compose.yml.dist file to docker-compose.yml
cp docker-compose.yml.dist docker-compose.yml

development

# run docker-compose
docker-compose up -d postgres

# run api
npm run dev

production

# run docker-compose
docker-compose up -d postgres

# run api
npm run start