Skip to content

SFX818/Team-3-backend

Repository files navigation

Blue Barracuda Boutique


Links


Technology Used

  • bcryptjs
  • body-parser
  • cloudinary
  • cors
  • dotenv
  • express
  • jsonwebtoken
  • mongoose
  • multer

General Approach

Blue Barracudas Boutique was created with a a simple online store in mind for users to sell and buy products.

  • Brainstormed user stories, wireframes, and routes to have an idea of how the app will be built.
  • Created RESTful routes in the backend.
  • Created components and connected them to the database models.
  • Displayed user and product data from backend onto frontend.
  • Styled using Materialize.

Setup

  • fork and clone repo
  • npm i

Routes

Auth

  • Sign Up - POST
  • Login - POST
  • Delete User - DELETE
  • Change Email - PUT
  • Change Username - PUT
  • Change Password - PUT
  • Change About - PUT
  • Get Profile - GET

Product

  • Find All Products - GET
  • Create Product - POST
  • Delete Product - DELETE
  • Edit Product - PUT

User

  • Test All Access - GET
  • Test User Access - GET
  • Test Admin Access - GET

Challenges & Stretch Goals

Challenges

  • Ran into issues with implementing Cloudinary.
  • Minor challenges with getting user data from backend that was not in local storage.

Stretch Goals

  • Allow users to purchase by credit card.
  • Function to direct message a seller through the website.
  • Write and rate sellers after purchasing products.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •