go-commerce-api
📧 GoCommerce API
This is the 9th challenge from GoStack Bootcamp, organized by Rocketseat. The objective is to create an application similiar to an ecommerce, that allow the creation of customers, products and orders, where the customer can generate new purchase orders for certain products.
🔗 Table of contents
- Customers | Create and Read
- Orders | Create and Read
- Products | Create and Read
First of all, it is important that you have installed Node.js and Yarn.
So, run this command in terminal to clone the project via HTTPS:
git clone https://github.com/fernandogatto/go-commerce-api.git
SSH URLs provide access to a Git repository via SSH, a secure protocol. If you have a SSH key registered in your Github account, clone the project using this command:
git@github.com:fernandogatto/go-commerce-api.git
ORM configuration is on ormconfig.json
. There you can configure your database settings.
So, run the following command in order in terminal:
# Start the server yarn dev:server # Run tests yarn test
Status
Description
200
OK
400
BAD REQUEST
404
NOT FOUND
500
INTERNAL SERVER ERROR
- Fork this repository.
-
Create a branch with your resource:
git checkout -b my-feature
-
Submit changes:
git commit -m "feat: My new feature"
-
Push your branch:
git push origin my-feature
Released in 2020. This project is under the MIT License.
Build with 💜 by Fernando Gatto.