Skip to content

About

A site that I made myself as my final project. The site is called Sutairu, which in japanese is "style". The site is about japanese clothes and decor.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

199 Commits

Folders and files

Repository files navigation

Whole documentation

Sutairu documentation

Sutairu web-app

Overview

Sutairu is a front-end app (SPA) for selling and managing products like clothes and decor. The application allows visitors to browse through the products catalogs. Users may register with an email and password which allows them to ctreate their own personal profile. Users with profiles can also edit or delete their own accounts at any time + personalised them with uploading their own profile picture.

Home page

The SPA"Sutairu" is an app for shopping japanesse stok, like various clothes and decor.

  • Technologies: JavaScript, HTML,CSS,Node.js,Express.js,Redux,MongoDB,Firebase,Nodemailer,Jest and others

Pages and permissions

All users πŸ”’

  • πŸ“Œ Home /home

    Home page

  • πŸ“Œ Product page /{main category/sub category}

    Screenshot 2024-03-30 172616

  • πŸ“Œ Product details /products/:id

    Screenshot 2024-03-30 173446

  • πŸ“Œ Login /login

    Screenshot 2024-03-30 154740

  • πŸ“Œ Register /signup

    Screenshot 2024-03-30 155919

  • πŸ“Œ Contact us /contact-us

    Screenshot 2024-04-14 220106

  • πŸ“Œ About us /about-us

    Screenshot 2024-04-14 215622

    Authentication users πŸ”

  • πŸ“Œ Home /home

  • πŸ“Œ Product page /{main category/sub category}

  • πŸ“Œ Product details /products/:id

  • πŸ“Œ About us /about-us

  • πŸ“Œ Contact us /contact-us

  • πŸ“Œ Profile: /account

  • Screenshot 2024-04-14 221823

  • πŸ“Œ Update Profile /update-profile

  • Screenshot 2024-03-30 161723

  • πŸ“Œ Cart component

    Screenshot 2024-03-30 164252

    Admin users πŸ”

  • πŸ“Œ Admin page /dashboard/admin

  • Screenshot 2024-04-14 220526

  • πŸ“Œ Home /home

  • πŸ“Œ Product page /{main category/sub category}

  • πŸ“Œ Product details /products/:id

  • πŸ“Œ About us /about-us

  • πŸ“Œ Contact us /contact-us

  • πŸ“Œ Profile: /account

  • πŸ“Œ Profile: /account

  • πŸ“Œ Cart component

  • πŸ“Œ Update Profile /update-profile

How to start the the backend server?

  • πŸ“Œ First you must install all dependencies included in the package.json file by typing npm install in a terminal. Then you must start the server by typing npm run dev in the terminal in the root.

After that the server will run on http:/localhost:3000 URL.

How to start the the frontend?

  • πŸ“Œ Firstly you must install all dependencies included in the package.json file my-app by firstly typing cd .\my-app\ and tnen npm install in the same folder. Then you must start the server by typing npm start in the terminal in the my-app. The frontend will be running on http:/localhost:3001 URL.

  • πŸ“Œ For the link between the server and the frontend, you need to add the link for the frontend in the cors integration in the backend. Next you should add for every fetch in the code the developer link for the backend for the fetching to work.

  • πŸ“Œ Backend cors integration

    image

  • πŸ“Œ Frontend fetch

    image

Executing the Tests

Before running the test suite, make sure a backend server is operational, and the application can be found at the root of its network address. To start the included dev-server, open a terminal in the folder containing package.json and execute: npm run dev

This is a one-time operation unless you terminate the server at any point. It can be restarted with the same command as above. To execute the test, open a new terminal (do not close the terminal, running the web server instance) in the folder containing package.json and execute: npm run test

Test result will be desplayed in the terminal, along detailed information about encountered problems. You can perform this operation as many times as it is necessary by re-running the above command.

image

About

A site that I made myself as my final project. The site is called Sutairu, which in japanese is "style". The site is about japanese clothes and decor.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages