Skip to content

ALERA0/eteration-task

Repository files navigation

Shopping Website Demo with ReactJS

This project is a task created for the Eteration company. It is built using React Js, Redux, Redux Toolkit, Axios, Tailwind CSS, and LocalStorage. Cypress is utilized for testing.

Install Packages

npm install

Copy the environment file

cp .env.example .env

Start the Project

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Test the Project

npm run cypress

To test the project, first run the npm run cypress command. Then click on the component testing option in the cypress panel that follows. After initialization, you can choose the browser you want on the screen that appears. You can run the test by selecting the element you want from the list of tested elements in the opened browser. See the section about running tests for more information.

Build the Project

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

React Redux Cypress localStorage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors