Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 6.42 KB

File metadata and controls

111 lines (74 loc) · 6.42 KB

Winter Clothes Distribution Management Server

This project is mainly focus on poor & suffering people so that they can warm themselves getting these little gifts.

Acknowledgements

Description

The Winter Clothes Management System is a web application designed to streamline the management of winter clothing items. It allows users to register, log in, create, update, and delete winter clothes posts. The application provides a user-friendly interface for managing winter clothes inventory efficiently.

Live URL

The live version of the Winter Clothes Management System can be accessed here.

Features

Public Routes

  • Home / Landing Page / Root Page

    • Navigation links for unauthenticated and authenticated users.
    • Banner section showcasing the platform's mission and goals.
    • Display of winter clothes posts and donor testimonials.
    • Gallery carousel highlighting distribution efforts.
    • Informative sections about the platform and winter clothes distribution.
  • Login / Register Page

    • Secure login and registration forms for user authentication.

Dashboard (Private Routes)

  • Dashboard Home Page

    • Dynamic interface with statistical insights.
    • Pie chart visualization of supply calculations.
  • All Winter Clothes Page

    • Table view of all winter clothes posts with action buttons for editing and deleting.
    • Addition of new winter clothes posts.
  • Create Winter Clothes Post Page

    • Interactive form for creating new winter clothes posts including edit and delete confirmation with modal.

Winter Clothes Detail Page

  • Detailed presentation of individual winter clothes posts with images and descriptions.
  • Donation button to initiate the donation process.

Technologies Used

  • Server:
    • Node.js
    • Express.js
    • MongoDB
    • JWT Decode
    • Bcrypt for hashing password

Installation

To run the Winter Clothes Management System server locally, follow these steps:

Backend Setup

  1. Clone the repository:
  git clone https://github.com/Porgramming-Hero-web-course/l2-b2-assignment-6-backend-asheque33.git
  1. Navigate to the backend directory:
  l2-b2-assignment-6-backend-asheque33
  1. install dependencies:
  npm install
  1. Setup environment variables by creating a '.env' file in the root directory and adding the following:
PORT=4000
MONGODB_URI_Local="mongodb://localhost:27017"
JWT_SECRET="wc-project-secret-key"
EXPIRES_IN='7d'
  1. start the server:
  npm run dev

Usage

  1. Register a new account or log in with existing credentials.
  2. Explore the home page to view winter clothes posts and donor testimonials.
  3. Access the dashboard to manage winter clothes and view statistical insights.
  4. Add, edit, or delete winter clothes posts as needed.
  5. Click on individual winter clothes posts to view details and initiate donations.