Skip to content

AlikBook/Solid-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛒 Solid Home - Ecommerce Website: Furniture Store

🚀 Live Demo: solid-home.vercel.app

A simple ecommerce platform for buying home furniture — inspired by IKEA.
It includes role-based access with key functionalities for each user type.


👥 User Roles & Features

🧑‍💻 Guest

  • Can browse the website and view furniture
  • Cannot add products to the cart

👤 Registered User

  • Add products to the cart
  • Validate and complete purchases

🛠️ Admin

  • Full CRUD (Create, Read, Update, Delete) for products
  • Manage user roles (promote, demote, or block users)

🔐 Authentication

  • Includes login and signup system
  • Roles: Guest, User, Admin

🏠 Solid Home - Home Decoration Project Setup

This guide explains how to set up and run the frontend and backend of the Home Decoration project on your local machine.


📦 Frontend Setup

  1. Open a terminal and navigate to the frontend folder:

    cd home_decoration_page
  2. Install the dependencies:

    npm install
  3. (Optional) Fix any security issues:

    npm audit fix
  4. Start the development server:

    npm run dev

🗄️ Backend Setup

  1. Open MySQL Workbench (or your preferred SQL tool).

  2. Create a new database:

    CREATE DATABASE home_decoration;
  3. Open the config file located at:

    home_decoration_page/WebServer/app/config/db.js
    
  4. Replace the following fields with your local database credentials:

    • user
    • password
    • port
  5. In your terminal, navigate to the backend folder:

    cd home_decoration_page/WebServer
  6. Install backend dependencies:

    npm install
  7. (Optional) Fix any security issues:

    npm audit fix
  8. Start the backend server:

    npm start

Your project is now running locally!
The frontend will be served on http://localhost:5173 (or similar), and the backend API will be accessible based on your configured port.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages