yarn storybook http://localhost:6006/?path=/story/example-introduction--page
yarn test:v http://localhost:6006/?path=/story/example-introduction--page
npm run prisma:prod:migrate npm run prisma:seed
npm run start:dev
update prisma npm install prisma
npm install docker compose up -d npm run dev
Seed: npm run prisma:migrate npm run prisma:seed npx run dev
Frontend: yarn install yarn dev
How to order.
User: Goto http://localhost:3000/auth/login login detail: [email protected] / password
Goto http://localhost:3000/client/store/1 Order a Pizza Speciale - Confirm Order Pushed to Order Site (http://localhost:3000/client/order/X) Status: "Pending"
Owner: (firefox) Goto http://localhost:3000/client/order/X Accept Order Order Cooked
Delivery: (chrome) Goto http://localhost:3000/auth/login login with [email protected] / password
Goto http://localhost:3000/driver/dashboard
Accept Challenge Picked Up / Order Delivered
Order #4 total: $115 Prepared By: BBQ House Deliver To: [email protected] Driver: [email protected] Status: Delivered Thank you for using Nuber Eats
- id
- createdAt
- updatedAt
- password
- role(client|owner|delivery)
- Create Account
- Log In
- See Profile
- Edit Profile
- Verify Email
- Edit Restaurant
- Delete Restaurant
- See Categories
- See Restaurants by Category (pagination)
- See Restaurants (pagination)
- See Restaurant
- Search Restaurant
- Create Dish
- Edit Dish
- Delete Dish
- Create Orders
- Read Orders
- Read Order
- Update Order
- Pending Orders (s: newOrder) (t: createOrder(newOrder))
- Cooked Order (Delivery) (s: cookedOrder) (t: updateOrder(cookedOrder))
- Order Status (Customer, Delivery, Owner) (s: orderUpdate) (t: updateOrder(orderUpdate))
- Pending Pickup Order (Delivery) (s: orderUpdate) (t: updateOrder(orderUpdate))
- Add Driver to Order
- Create Payment
- Find Payment
- Payments Cron Jobs
- Payments (Paddle - alt. to Stripe)
- Pending - Client create Order
- Cooking - Restaurant owner see pending orders & update status to Cooking
- Cooked - Restaurant owner complete dish & update status to cooked - Driver see cooked orders & add themselves
- PickedUp - Driver arrive at resturant & update status to PickUp
- Delivered - Driver delivers dish to client & update status to Delivered
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.