Giter Site home page Giter Site logo

lula's Introduction

Lula

CONTENTS


SUMMARY

Lula is a plant store that offers various types of plants. Lula is an application so that your customers can see all their plants from the comfort of their cell phone and not go directly to the store.

I had the opportunity to go to their nursery and learn more about their business.

plant plant_2 plant_3

I got down to work and I liked the result and so did my client.

At the end of everything my client was happy.

BUSINESS

what is it

Lula is a plant store and the app has the same name.

Problem

The store is not well organized and customers only get to see the main floors and do not see all their products due to lack of time or lack of interest.

what needs?

I offered you an app for better accessibility to all your products so you can sort all your products that belong to a certain category. We both agreed to the proposal. Let's get our hands dirty!

garden

Organization chart

  • Administrator - Owner(manage the store and nursery garden)
  • Employee (physical store manager)
  • motorized (plant deliverer)

organization_map

main requirement

  • show and sell plants

DESIGN

use case diagram

use_case_diagram

class diagram

class_diagram

API ENDPOINTS

PRODUCTS ENDPOINTS

HTTP METHOD API ENDPOINT FUNCTION
GET /products/list/ return list of all products
GET /products/list/<slug>/ return detail of product by slug
GET /products/related/<id>/ return related products of one product by id
GET /products/category/ return list of products by category
GET /products/category/<id>/ return specific products by category by id

USERS ENDPOINTS

HTTP METHOD API ENDPOINT FUNCTION
POST /login/ return token and user data
POST /users/ create user by phone instead of username
PUT /users/<user_id>/change_password/ Update password
PUT /users/<user_id>/ Update username

CART ENDPOINTS

HTTP METHOD API ENDPOINT FUNCTION
GET /cart/ return current shopping cart. if the cart is used return new cart.
POST /cart/ add product to the cart by product_id
PUT /cart/cart-item/<int:pk>/ update quantity of product in the shopping cart by id of product
DELETE /cart/cart-item/<int:pk>/ delete product of the shopping cart by id of product in the cart
GET /cart/<product_id>/ verify if the product is in the shopping cart by product_id

Authorization Token is required

ORDERS ENDPOINTS

HTTP METHOD API ENDPOINT FUNCTION
GET /orders/ return list of orders of the user
POST /orders/<order_code> return order detail of the user
POST /orders/checkout/ create order
PUT /orders/checkout/ user can cancel order if the status does not change to received

Authorization Token is required

MOBILE

Sitemap

sitemap_app

Screens

1 2 3 1
1 2 3 1
1 2 3 1
1 2 3

TECHNOLOGIES

BACKEND

  • DRF

MOBILE

  • Flutter (Android/iOs)

DATABASE

  • PostgreSQL

HOSTING

  • Digital Ocean

DESIGN TOOL

  • draw.io (use case, class diagram,sequence)
  • Whismical

METHODOLOGY

  • Kanban (Trello)

Thrid party Services and tools

  • ibb.co (free hosting of images)
  • Postman (test api endpoints)

lula's People

Contributors

zhou1925 avatar

Watchers

 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.