Skip to content

allow user to login and make all CRUD (create, read, update ,delete) operations to products, orders , users and add products to orders in cart

Notifications You must be signed in to change notification settings

akramgamal/Storefront-Backend-Project

Repository files navigation

description

  • The company stakeholders want to create an online storefront to showcase their great product ideas. Users need to be able to browse an index of all products, see the specifics of a single product, and add products to an order that they can view in a cart page

how to connect the database

1-create a database in postgres

2-run db-migrate up to run migrations and create tables automatically

ports

1-backend=>3000

2-database=>5432

package install

1-run npm install in terminal

added authentication and authorization by JWT package

added encryption to user's password

Testing by jasmine

  • added unit tests for every method in the models
  • run by npm run test2

About

allow user to login and make all CRUD (create, read, update ,delete) operations to products, orders , users and add products to orders in cart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published