Skip to content

Sarthak0722/WAD_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online Dairy Store

A full-stack web application for an online dairy store, built with React.js for the frontend and Node.js/Express for the backend.

Features

  • User Authentication (Login/Register)
  • Product Catalog
  • Shopping Cart
  • Order Management
  • Admin Dashboard
  • Subscription Management
  • Contact Information
  • Responsive Design

Tech Stack

Frontend

  • React.js
  • Material-UI
  • Context API for State Management
  • React Router for Navigation

Backend

  • Node.js
  • Express.js
  • MongoDB
  • JWT Authentication

Project Structure

├── client/                 # Frontend React application
│   ├── public/            # Public assets
│   │   ├── components/    # Reusable components
│   │   ├── pages/        # Page components
│   │   ├── context/      # Context providers
│   │   ├── services/     # API services
│   │   └── theme/        # Material-UI theme
│   └── package.json
│
└── server/                # Backend Node.js application
    ├── config/           # Configuration files
    ├── controllers/      # Route controllers
    ├── middleware/       # Custom middleware
    ├── models/          # Database models
    ├── routes/          # API routes
    └── package.json

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/Sarthak0722/WAD_Project.git
cd WAD_Project
  1. Install Frontend Dependencies
cd client
npm install
  1. Install Backend Dependencies
cd ../server
npm install
  1. Create a .env file in the server directory with the following variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
PORT=5000
  1. Start the Backend Server
cd server
npm start
  1. Start the Frontend Development Server
cd client
npm start

The application will be available at http://localhost:3000

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Sarthak Kalyankar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •  

Languages