Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeteerawit/e_commerce
https://github.com/joeteerawit/e_commerce
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/joeteerawit/e_commerce
- Owner: joeteerawit
- Created: 2024-04-01T13:05:20.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-04-05T13:21:21.000Z (10 months ago)
- Last Synced: 2024-11-06T04:29:28.336Z (3 months ago)
- Language: JavaScript
- Size: 274 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ECommerce
## start db
```bash
docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres postgis/postgis
```## prepare data
use any db client to insert data
- copy sql from `sql/merchant_bank_accounts.sql` then insert it to db
- copy sql from `sql/merchants.sql` then insert it to db
- copy sql from `sql/products.sql` then insert it to db### run
```bash
mix ecto.create
mix ecto.migrateiex -S mix phx.server
```