NearMartX is a full-stack project designed to provide a seamless shopping experience. It consists of a frontend built with React and a backend powered by Node.js.
NearMartX/
├── nearmartx-frontend/ # Frontend (React)
├── nearmartx-backend/ # Backend (Node.js)
└── README.md # Project documentation
The frontend is built using React and provides a user-friendly interface for customers to browse and shop.
- Responsive design
- Product listing and search
- Shopping cart functionality
- User authentication
- Order history
-
Navigate to the frontend directory:
cd nearmartx-frontend -
Install dependencies:
npm install
or
yarn install
-
Start the development server:
npm start
or
yarn start
The frontend will run on http://localhost:3000 by default.
The backend is built using Node.js and provides APIs for managing users, products, orders, and more.
- User authentication and authorization
- Product management
- Order processing
- API documentation
- Error handling and logging
-
Navigate to the backend directory:
cd nearmartx-backend -
Install dependencies:
npm install
or
yarn install
-
Create a
.envfile in the root directory and configure the required environment variables. Refer to.env.examplefor guidance. -
Start the development server:
npm run dev
or
yarn dev
The backend will run on http://localhost:5000 by default.
npm start- Start the development servernpm run build- Build the project for production
npm start- Start the production servernpm run dev- Start the development servernpm run build- Build the projectnpm test- Run tests
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature-name. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please contact:
- Email: pradeep876596@gmail.com