An API to control your e-commerce!
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
An API to control your e-commerce.
Features:
- Create a customer (name and email)
- Create a product (name, price, quantity)
- Create a order (customer_id and products)
- Show a order by id
-
npm
npm install npm@latest -g
-
yarn
npm install --global yarn
- Clone the repo
git clone https://github.com/jennifertakagi/go-commerce.git
- Install packages on backend folder
yarn | npm install
- Create a Postgress docker image with the following command and options:
docker run --go-commerce foo -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
4. Run database migrations
```sh
yarn typeorm migration:run | npm run typeorm migration:run
- Run the local environment on backend
yarn dev:server | npm run dev:server
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Jennifer Takagi - @jennitakagi