A full stack Node.js and React shopping cart app. https://nano-center.phutrieu.com/
Technologies
- React.js
- HTML5
- CSS3
- Bootstrap 5
- Node.js
- Express
- PostgreSQL
- AWS EC2
- Webpack 4
Features
- User can view a list of products for sale.
- User can view the details of the products.
- User can add a product to their cart.
- User can view their cart summary.
- User can place an order.
Previews
System Requirements
- Node.js (10 or higher)
- NPM (6 or higher)
- PostgreSQL
Getting Started
- Clone the repository.
git clone https://github.com/phutrieu95/nano-center
- Navigate to the directory.
cd nano-center
- Install all dependencies needed.
npm install
- In a separate terminal, initialize PostgreSQL server.
sudo service postgresql start
- Import the database.
npm run db:import
- If you would like a GUI for the database via pgweb, run the following command. The GUI can then be accessed by opening http://localhost:8081 in your browser.
pgweb --db=nanoCenter
- Start the project. Once your system finishes compiling, you can view the application by opening http://localhost:3000 in your browser.
npm run dev