Skip to content

FCJ-DNTU/sample-03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sneaker Ecommerce

I've improved and updated the front-end code on the improve/legacy-code branch. If you're having issues starting the project with the backend, use this branch. I'll be improving the backend code and connecting it soon.

See it live here: https://ecommerce-app-ms-sql-net-react.vercel.app/

Table of Contents
  1. About The Project
  2. Getting Started
  3. Previews
  4. Roadmap
  5. License

About The Project

This project was an opportunity for me to utilize my self-taught front-end skills and existing back-end knowledge to build an ecommerce platform. However, my skills in both areas were not sufficient, and I lacked full-stack knowledge, including how to establish communication between the front end and back end. Despite these challenges, I took pride in this project because it motivated me to learn and explore various technologies, such as C# Web API, Redux, JWT tokens, and HTTP methods and API development in general.

Built With

  • React.js
  • Microsoft SQL Server
  • .NET Web API
  • Redux
  • SCSS

Getting Started

To get a local copy up and running, follow these steps.

Installation

  1. Clone the repo

    git clone https://github.com/mariangle/ecommerce-app-ms-sql-net-react.git
  2. Back end:

    • Configure your database connection details in an app.config file.
    • Build and run the solution file from the "Backend" folder in Visual Studio.

Note: This project is dated, and there are many aspects I would approach differently now. I am no longer actively developing it. However, if you intend to clone or fork it: The database was initially set up using SQL statements, which were not saved. Starting the project may be challenging due to this. I recommend using Entity Framework's update-database command to recreate the database schema based on the models.

  1. Front end:
    • Navigate to the "Frontend" directory

    • Install required npm packages

      npm install
    • Start the front end development server

      npm start

Practice in Ubuntu 22.04

See more at: https://shadow-eagle-469.notion.site/Tri-n-khai-d-a-n-Ecormerce-bbdfc3d30ac348c097015c74941b4575

Previews

Browsing and Shopping

browsing-shopping.mp4

Complete Checkout and User Profile

checkout-user.mp4

Managing Products

managing-products-trim.mp4

Roadmap

  • Store cart and wishlist items in local storage
  • Filtering and sorting options
  • Implement promotional offers and free shipping for orders exceeding a specific amount.
  • Integrate PayPal as a payment method
  • Improve the application's responsiveness for smaller screens
  • Implement encryption and decryption for user passwords
    • Hash passwords
  • Add guest checkout functionality

License

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

(back to top)