GithubHelp home page GithubHelp logo

elephantclock / delivery-management-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maruffahmed/delivery-management-system

0.0 0.0 0.0 1.33 MB

A open source Basic Delivery Management System. Build with Nest Js framework, Remix Js full stack JavaScript React framework, Tailwind CSS, Prisma ORM, and MySQL.

Home Page: https://dpdms.up.railway.app

License: MIT License

Shell 0.01% JavaScript 0.39% TypeScript 98.07% CSS 1.52% Batchfile 0.01%

delivery-management-system's Introduction

React Js Next Js Remix Js Tailwind Css website development png

Delivery Management System

Demo credential

Merchant panel
email: [email protected]
password: 123456

Admin panel
URLpath: /admin
email: [email protected]
password:123456

Package handler panel (Pickup man)
URLpath: /packagehandler
email: [email protected]
password:123456

Package handler panel (Delivery man)
URLpath: /packagehandler
email: [email protected]
password:123456

Getting Started

This instruction will get you a copy of this project up and running on your local machine

Prerequisites

You need Node JS (v18.x.x) installed on your local machine.

Installing ⚙️

Run the followning command to install all the packages:

npm run setup

Setup Environment Variable

Set the following environment variable to backend directory. Also, an example file is given with the name of .env.example:

PORT = 8000
DATABASE_URL = "mysql://root:password@localhost:3306/delivery"
JWT_SECRET = 'ANYTHING_YOU_LIKE'
BCRYPT_SALT_OR_ROUNDS = "10"

Set the following environment variable to frontend directory. Also, an example file is given with the name of .env.example:

SESSION_SECRET = "dearMj"
API_BASE_URL = "http://localhost:8000"

Database Migration 💿

Run the followning command to migrate the prisma schema:

npm run prisma:migrate

You only have to run this for only one time at the beginning of project setup

Seed Database 🌱

Run the following command to seed your database with some preset dataset. It includes delivery area info (Division, Districs, Areas), Delivery zones, Parcel pricing (for 0.5KG, 1KG, 2KG, 3KG, 4KG, 5KG), Parcel products categories, Shop products categories, a default user and admin, etc.

cd backend
npm run seed

Run 🏃🏻‍♂️

By this command your app and server will be run concurrently

npm start

An server will be run at http://localhost:8000
And frontend server will be run at http://localhost:3000

Screenshots

screencapture-localhost-3000-dashboard-2023-06-01-12_32_30 screencapture-localhost-3000-create-parcel-2023-06-01-12_39_06 screencapture-localhost-3000-parcel-list-2023-06-01-12_39_44 screencapture-localhost-3000-parcel-tracking-2023-06-01-12_38_51 screencapture-localhost-3000-payments-list-2023-06-01-12_39_52 screencapture-localhost-3000-shop-list-2023-06-01-12_39_59 screencapture-localhost-3000-shop-list-2023-06-01-12_40_11 screencapture-localhost-3000-settings-password-2023-06-01-12_40_33

Built With 🏗️👷🏻

  • NodeJs - Node.js® is an open-source, cross-platform JavaScript runtime environment.
  • NestJs - A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
  • Prisma - Next-generation Node.js and TypeScript ORM
  • Remix - Remix is a full stack web framework
  • Tailwind CSS - A utility-first CSS framework packed with classes
  • Chakra UI - Chakra UI is a simple, modular and accessible component library

Credit

Authors

  • Md Maruf Ahmed - Software Engineer

delivery-management-system's People

Contributors

maruffahmed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.