Git Product home page Git Product logo

getgoods's Introduction

GETGOODS - Local Marketplace Application

A platform for new merchants and farmers to sell local and processed products, offering benefits, expanding customer base, and protecting against competition.

Getting Started

To get started with the GetGoods app, follow these steps

  • Download and unzip the zip file source code or clone the GetGoods repository: git clone https://github.com/boss4848/getgoods.git

Prerequisites

Before running the app, make sure you have the following installed:

  • .env file Please make sure that you have file named config.env (frontend and backend)
  • front_end/config.env (example)
BASE_URL=http://<IP>:8000/api/v1
LOCAL_HOST=127.0.0.1

#android emulator (Change IP_ADDRESS to your local IP address)
IP_ADDRESS=

#stripe
STRIPE_PUBLISHABLE_KEY=
  • back_end/config.env (example)
PORT=8000

#MongoDB (Database Server)
DATABASE=
DATABASE_PASSWORD=

#JWT
JWT_SECRET=
JWT_EXPIRES_IN=1d

#Azure Storage (Image Storage Server)
AZURE_STORAGE_CONNECTION_STRING==

#Stripe (Payment Gateway)
STRIPE_SECRET_KEY=
  • Flutter SDK version 3.7.0-0 or higher.
  • Dart SDK version 2.19.3 or higher.
  • Node JS

Running the app

Once you have the prerequisites set up, you can run the app:

  1. Change directory to back_end and then run the following commands:
npm i
npm start
  1. Change directory to front_end and then run the following command:
flutter pub get
  1. Run the app on a simulator or connected device using the following
flutter run

Front End Dependencies

  • cached_network_image
  • carousel_slider
  • cupertino_icons
  • custom_refresh_indicator
  • dio
  • fl_chart
  • flutter_dotenv
  • flutter_spinkit
  • flutter_svg
  • http
  • http_parser
  • image
  • image_picker
  • intl
  • patterns_canvas
  • path_provider
  • percent_indicator
  • shared_preferences
  • timeago
  • socket_io_client
  • flutter_rating_bar
  • stripe_checkout

Back End Dependencies

  • @azure/storage-blob
  • bcryptjs
  • chalk
  • cors
  • dotenv
  • express
  • http
  • jsonwebtoken
  • mongoose
  • morgan
  • multer
  • sharp
  • socket.io
  • stripe
  • validator

Tech Stack

  • Flutter.
  • Node.js.
  • Express.
  • MongoDB.
  • Mongoose.
  • Socket.io
  • Stripe (Payment)

Folder Architecture

  • MVC (Model-View-Controller): Architectural pattern for the backend.
  • MVVM (Model-View-ViewModel): Architectural pattern for the frontend.

Cloud Storage

  • Azure Cloud Storage Blob (used for images)
  • Atlas MongoDB Cloud (used for database storage)

Base API URL

The base API URL for the backend is

http://localhost:8000/api/v1

Screens Example

LoginPage HomePage

getgoods's People

Contributors

boss4848 avatar yovatcha avatar dolptd avatar kanyaratp29 avatar fahsaifst avatar rknxtpa avatar markpakkawat avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  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.