The app was made for ordering milk from vendors.
- role based access(vendor, customer, deliveryMan, admin)
- delivery marking and feedback system.
- google authentication and normal authentication.
- keeping track of milk orders and changing the available quantity to prevent further ordering because the inventory is empty.
First, clone this repository
create an env file and fill the values
DATABASE_URL, NEXTAUTH_URL http://localhost:3000, NEXTAUTH_SECRET, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET,
then run
npm install
then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.