Create a file called .env in the server directory and fill in the following variables without quotations
PORT=
MONGODB_CONNECTION_URI=
Open up your terminal in the serve directory and run this command:
npm install
- axios
- body-parser
- bootstrap
- bootstrap-vue
- dotenv
- express
- multer
- mysql
- nodemon
- vue
- vue-card-payment
- vue-style-loader
- vue-router
Open up your terminal in the root directory and run this command:
npm start
Open up your terminal in the client directory and run this command:
npm run serve
App running at
http://localhost:8080/ # This is where the website is running on.
.
├── client
│ ├── public
│ ├── assets
│ ├── src
│ │ ├── components
│ | │ ├── ProductForm.vue
│ | │ ├── ProductList.vue
│ | ├── pages
│ | │ ├── Admin
│ | | │ ├── Edit.vue
│ | | │ ├── Index.vue
│ | | │ ├── New.vue
│ | | │ ├── Product.vue
│ | │ ├── User
│ | | │ ├── Index.vue
│ | | │ ├── Signin.vue
│ | | │ ├── Signup.vue
│ | │ ├── Cart.vue
│ | │ ├── Details.vue
│ | ├── router
│ | | ├── admin.js
│ | | ├── cart.js
│ | | ├── details.js
│ | | ├── home.js
│ | | ├── index.js
│ | | ├── user.js
│ │ ├── App.vue
│ │ ├── main.js
│ └── README.md
├── server
│ ├── api
| │ ├── routes
| ├── app.js
│ └── server.js
├── LICENSE
└── README.md
General:
- If you click the cart button and click "Add Socks," it'll direct you to the home page, making it easy for anyone to access the website.
- Everytime an admin edits a product and when a user writes a review, you will not be able to see the modifications unless you go back to the home page and manually refresh the page.
Sign up page:
- Automatically goes into the login page whether the registration is successful or not.
- When the person clicks the "Sign up" button, the user isn't given a message whether the sign up was successful or not.
Contact Us page:
- When the clear button is pressed, it does not clear message.
Admin page:
- Our admin page is not protected; anyone can access the admin page.
Cart page:
- Cancel button doesn't work.
- Credit card is not stored.
- When you press continue, the cart doesn't return to 0.