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.
- Introduction
- Features
- Installation
- Usage
- API Endpoints
- Technologies Used
- Contributing
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.
- User authentication and authorization
- Product listing and search functionality
- Shopping cart and checkout process
- Order history and tracking
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/my-grocery-store.git cd my-grocery-store
-
Install frontend dependencies:
npm install i
-
Navigate to the backend directory and install dependencies:
cd Ogani_backend npm install i
-
Set up the MySQL database:
- Create a new MySQL database.
- Update the database configuration in
Ogani_backend/config/config.json
.
-
Start the backend server:
npm start
-
Start the frontend server:
cd .. npm run dev
Once the servers are running, you can access the application at http://localhost:3000
.
- Frontend: Next.js, React
- Backend: Node.js, Express, Sequelize, MySQL
- Styling: CSS, Tailwind CSS
Contributions are welcome! Please fork the repository and create a pull request with your changes.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!