Skip to content

Suneeh/webshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webshop

This repository is my take on a webshop. I have built and modified many webshops in the past for big customers. Now I want to build my own and take you guys with me.

Follow my journey on dev.to.

Contributing

Clone the repo

Get the code of this git repository to your machine.

git clone https://github.com/Suneeh/webshop.git

Install dependancies

Use npm install to install all packages and dependancies.

Development server

Copy the ./auth_config.example.json file and remove the example fill it with your own values. After that run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

docker run --name webshopDb -e POSTGRES_PASSWORD=MYPASSWORD -p 5432:5432 -d postgres

Deployment

Run npm run deploy after you renamed the deployment.exmaple.sh to deployment.sh. Also be sure to adjust this to your needs as shown in the example.

TODOs

  • Auth
    • Build a login mask instead of redirecting to Auth0
    • Login
    • Add auth to the Backend
    • Use Auth correctly
  • General
    • (Future) Add guards for user specifics or management pages
  • Shell
    • Build Footer with hotlinks and more information
    • Create a company logo
      • Add the company logo to the sidebar
      • Add FavIcon
      • Add Logo to the login mask of auth0
  • Product Rating
    • Build Component that shows stars instead of numbers
    • Call Action Data Source to actually rate an item
  • Category Page
    • Build Sorting & Filtering (once there is metrics to sort/filter by)
    • Build Pagination (will this ever be needed ?)
  • Product-List Component
    • Show Rating
    • Show Discount
  • Product-Detail Page
    • Build stub with link and route working
    • Show all the information on the page
    • Rating(s) of users
    • Discount
    • Style the page
    • Think about ideas of how to fill the page afterwards
      • Related Products
      • Items in Stock ?
      • Tags ?
  • Dashboard
    • Newest products
    • Top Rated Products
    • Build Landing Page
    • Top selling products (super late - when orders are a thing)
    • Special offer products
  • Misc
    • Refactor API to Seperate APIs / Files with 1 file for Endpoint + Method + DTOs
    • Build Css with Media Queries for Mobile, FullHD and QHD screens
    • Write Test(s) for the endpoints
    • Check why intellisense is not suggesting imports correctly?
    • Brand categories?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published