Eco is an online store that offers a wide range of products, The store is built using modern web technologies such as Next.js, TypeScript, Tailwind CSS, Express.js, and MongoDB, ensuring a seamless user experience and high performance.
Note : In Production change the ENV key in .env file to
production
Note : While Testing change the ENV key in .env to
testing
Note : While Developing change the ENV key in .env to
development
To install and run the app locally, please follow these steps:
- Clone the repository
- Navigate to the server directory and run
npm install
oryarn install
- Create a .env file and add the required environment variables
- Start the server by running
npm run dev
oryarn run dev
- Navigate to the client directory and run
npm install
oryarn install
- Install the dependencies by running
npm install
oryarn install
- Start the development server by running
npm run dev
oryarn dev
To Build the project, please follow these steps:
- Navigate to the server directory and run
yarn run build
To Build and start the project, please follow these steps:
- Navigate to the server directory and run
yarn run build:start
To start the project, please follow these steps:
- Navigate to the server directory and run
yarn run start
To run tests, please follow these steps:
- Navigate to the server directory and run
yarn run test
To format the project with prettier, please follow these steps:
- Navigate to the server directory and run
yarn run format
This store has the following features:
- Authentication (signup, login, logout)
- Product listing
- Product detail view
- Cart management (add/remove items)
- Checkout process
- Order history
- Wishlist
- Rating and Reviews
- Manage Products
- Manage Categories
- Manage Suppliers
- Manage Purchases
- Manager Orders
- Change About us
- Change Contact info
- Change Settings
This project uses the following technologies:
Choaib Mouhrach |
Jamal Id Aissa |
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them
- Push your changes to your fork
- Create a pull request to the main repository
This project is licensed under the MIT License. See the LICENSE file for details.