Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viet-tu/shopping-backend-ci-cd
shopping-backend-ci-cd
https://github.com/viet-tu/shopping-backend-ci-cd
Last synced: about 2 months ago
JSON representation
shopping-backend-ci-cd
- Host: GitHub
- URL: https://github.com/viet-tu/shopping-backend-ci-cd
- Owner: VIET-TU
- Created: 2024-01-19T17:26:55.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-19T17:50:19.000Z (12 months ago)
- Last Synced: 2024-01-19T18:57:17.474Z (12 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redis shopping cart API
## Prerequisites
- Node - v12.19.0
- NPM - v6.14.8
- Docker - v19.03.13 (optional)## Development
```
# Environmental variablesCopy `.env.example` to `.env` file and fill environmental variables
- REDIS_PORT: Redis port (default: 6379)
- REDIS_HOST: Redis host (default: 127.0.0.1)
- REDIS_PASSWORD: Redis password (default: demo)cp .env.example .env
# Run docker compose or install redis with RedisJson module manually. You can also go to https://redislabs.com/try-free/ and obtain necessary environmental variables
docker network create global
docker-compose up -d --build# Install dependencies
npm install
# Run dev server
npm run dev
```