A full stack Node.js and React.js e-commerce shopping cart app for a board shop.
Try the live site here: https://boardcart.brandonktran.com/
- User can view products.
- User can view the detail of a product.
- User can add products to a cart.
- User can view the products in a cart.
- User can place an order for a cart.
Front-end functionality and interface built with React.js. Back-end API built using Express.js and Node.js to handle client requests and data. Data stored and retrieved from PostgresQL database.
Node.js 10 or higher
NPM 6 or higher
PostgreSQL 10 or higher
Express.js 4 or higher
Clone the repository.
git clone https://github.com/brandonktran/boardcart.git
cd boardcart
Install all dependencies with NPM.
npm install
Start PostgreSQL server
sudo service postgresql start
Create the database
createdb boardcart
Copy .env.example and update with your PostgreSQL credentials
cp .env.example .env
Import the schema
npm run db:import
Start the project.
npm run dev
Then view the application by going to http://localhost:3000 in your browser.