eCommerce Object Relational Mapping backend
This Repo is an example of a RESTful API, using the example of an eCommerce-ORM. This application is to display the understanding and utilization of RESTful API archetecture with a SQL database.
- Clone the repository to your computer.
- Install node if you havent yet node.js v18.12.1
- Open the root of the local directory you chose in your terminal.
- Type
npm i
in the command line to install the required dependencies
- Seed the database by entering
npm run seed
in the command line. - Start the Database by typing
npm start
in the command line. - Open and use your API Platform (e.g., Postman) to GET, CREATE, UPDATE, and DELETE categories, products, tags.
- Use your API platform to CRUD. (For instructions on Postman you can learn more in their overview)
video walkthrough.
eCommerceAPIwalkthrough.mov
You may pull this repo and test/build upon the RESTful API routes using an API Platform of your choice. (I used Postman)
This project is licensed under the MIT License - see Badge link for details.
If you have any issues with the repo, please feel free to open an Issue.