Skip to content

Latest commit

 

History

History
99 lines (58 loc) · 2.17 KB

README.md

File metadata and controls

99 lines (58 loc) · 2.17 KB

My Grocery Store

Welcome to My Grocery Store, a web application built with Next.js for the frontend and a backend named Ogani_backend. This project uses Sequelize and MySQL for database management and includes a fake API for testing purposes.

Table of Contents

  • Introduction
  • Features
  • Installation
  • Usage
  • API Endpoints
  • Technologies Used
  • Contributing

Introduction

My Grocery Store is an online platform where users can browse and see groceries list. The application is designed to provide a seamless shopping experience with a user-friendly interface.

Features

  • User authentication and authorization
  • Product listing and search functionality
  • Shopping cart and checkout process
  • Order history and tracking

Installation

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/my-grocery-store.git
    cd my-grocery-store
  2. Install frontend dependencies:

    npm install i
  3. Navigate to the backend directory and install dependencies:

    cd Ogani_backend
    npm install i
  4. Set up the MySQL database:

    • Create a new MySQL database.
    • Update the database configuration in Ogani_backend/config/config.json.
  5. Start the backend server:

    npm start
  6. Start the frontend server:

    cd ..
    npm run dev

Usage

Once the servers are running, you can access the application at http://localhost:3000.

Technologies Used

  • Frontend: Next.js, React
  • Backend: Node.js, Express, Sequelize, MySQL
  • Styling: CSS, Tailwind CSS

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!