Giter Club home page Giter Club logo

e_commerce_api's Introduction

E Commerce API

Table of Contents

Description

An api used to manage categories of products, different products, and different attributes of those products for an e-commerce store.

License

MIT License

Installation

First, clone the repo at [email protected]:ryansheehy0/E_Commerse_API.git.

Second, run npm install in the Develop folder in order to install the npm packages.

Third, run mysql -u root -p and type in your password. Note: you need a MySQL server installed.

Forth, run source ./db/schema.sql; in your MySQL server.

Fifth, run npm run seed in you terminal.

And finally, run node server.js to start the server.

Usage

You can go to multiple different API links to get, create, update, and delete data.

API Examples:

POST http://localhost:3001/api/tags/

  • Body
{
	"tag_name": "green"
}

POST http://localhost:3001/api/products/

  • Body
{
	"product_name": "Basketball",
	"price": 200.00,
	"stock": 3,
	"tagIds": [1, 2, 3, 4]
}

POST http://localhost:3001/api/categories/

  • Body
{
	"category_name": "Underwear"
}

video

Credits

Resources

Tests

Just install the project and follow the steps for using the app.

Issues/Questions

On the github page just click on the issues tab and then click the New issue button. Please try to leave a description of your problem and what steps you took that lead to the problem.

If you have any questions or issues feel free to reach out to me at

Github: ryansheehy0

or

Email: [email protected]

Contributing

Just clone the repo, make your changes, push to a new branch, and make a pull request on github.

e_commerce_api's People

Contributors

ryansheehy0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.