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.
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
All users π
-
π Home
/home -
π Product page
/{main category/sub category} -
π Product details
/products/:id -
π Login
/login -
π Register
/signup -
π Contact us
/contact-us -
π About us
/about-us -
π Home
/home -
π Product page
/{main category/sub category} -
π Product details
/products/:id -
π About us
/about-us -
π Contact us
/contact-us -
π Profile:
/account -
π Update Profile
/update-profile -
π Cart component
-
π Admin page
/dashboard/admin -
π 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
- π First you must install all dependencies included in the package.json file by typing
npm installin a terminal. Then you must start the server by typingnpm run devin the terminal in the root.
After that the server will run on http:/localhost:3000 URL.
-
π Firstly you must install all dependencies included in the package.json file my-app by firstly typing
cd .\my-app\and tnennpm installin the same folder. Then you must start the server by typingnpm startin 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
-
π Frontend fetch
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.













