Golden Shoe is a web application built with React, NodeJS Express, and PSQL database. The application allows users to browse and purchase shoes online. The project was created as part of a software development course.
Before running the project, make sure to complete the following pre-requirements:
- Clone the project from the repository.
- Create a local database named "shoes" by using the command
CREATE DATABASE shoes;. - Change into the "shoes" database by using the command
\c shoes;. - To create the tables for the database, use the queries in the "database.sql" file lines 1 to 16.
- Install the necessary dependencies by running the command
npm i. - Start the application by running the command
npm run dev. - To add mock data, hit the endpoint
http://localhost:3000/api/stock-initial.
Once you have completed the prerequisites, you are ready to run the application. To start the application, run the command npm run dev. This will start both the server and the client.
Once the application is running, you can access it by opening a web browser and navigating to http://localhost:3000/.
The application has the following features:
- Browse shoes by category and brand
- Add shoes to cart
- View order details
- Add voucher code (ANDDIGITAL)
- Checkout and purchase shoes (Mock payment without payment details)
- FAQ page
- Returns page
If you encounter any issues while running the application, please refer to the project's issue tracker or contact the project maintainers.