Skip to content

jnguyenbee/CS4393UIProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS4393UIProject

Table of Contents

  1. Set-up
    a. Installation
  2. Running Project
    a. Run Server
    b. Run Client
  3. Project Structure
  4. Errors

Set-up 💻

Create environment variables

Create a file called .env in the server directory and fill in the following variables without quotations

PORT=
MONGODB_CONNECTION_URI=

Installing packages

Open up your terminal in the serve directory and run this command:

npm install

npm packages

Running Project

Run Server

Open up your terminal in the root directory and run this command:

npm start

Run Client

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.

Project Structure

.
├── 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

Errors:

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •