Skip to content

ACU017/NFT-ecommerce-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

283 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT e-Commerce App

This MVP is an e-commerce app that sells NFTs.

Setup

Dependencies

  • Run npm installin project directory. This will install server-related dependencies such as express.
  • cd client and run npm install. This will install client dependencies (React).

Database Prep

  • Access the MySQL interface in your terminal by running mysql -u root -p
  • Add a .env file to the project folder of this repository containing the MySQL authentication information for MySQL user. For example:
  DB_HOST=localhost
  DB_USER=root
  DB_NAME=ecommerce
  DB_PASS=YOURPASSWORD
  • Run the following commands to your MySQL console: CREATE DATABASE ecommerce; and then USE ecommerce;.
  • Run npm run migrate in the project folder of this repository, in a new terminal window. This will create the required tables in your database: "payments", "orders", "users", "guests", "artists", "products", and "product_order".
  • Make sure you understand how the tables are constructed. In your MySQL console, you can run DESCRIBE tablename; to see the structure of each table. Please mind that "tablename" in DESCRIBE tablename; needs to be replaced by the name of the table that you want to describe.

Development

  • Run npm start in project directory to start the Express server on port 5000.
  • In another terminal, do cd client and run npm run dev to start the client in development mode with hot reloading in port 5173.

About

In this project we focused on building the platform from scratch as to ensure we would be able to twinker each and every functionality. We managed to build a beautiful interface that allows you to buy from our very exclusive selection of Fashion items that would bring joy to your e-wardrobe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 97.2%
  • CSS 2.7%
  • HTML 0.1%