Coder Social home page Coder Social logo

family-shop's Introduction

family-shop

A collaborative weekly shopping list for families.

  • Flutter
  • Spring Boot
    • .NET Core (old version)
  • Docker / Docker Compose

Early Screenshots

            

Getting Started

App

  • Install Packages: flutter pub get
  • Run App: flutter run

API

  • Start: docker-compose up
  • Stop: docker-compose down
  • Reset DB: docker-compose down -v

Mobile Application

The mobile application is written in Dart using the Flutter framework from Google.

I decided to use Flutter because it is cross-compatible with both Android and IOS. This is my first real project with flutter and I think it has real potential.

Backend API

The backend API is written in C# using the open-source .Net Core from Microsoft. .Net Core runs on both Windows and Linux and uses C# which is very similar to Java, making learning it very easy. I also like the Entity Framework which is used for ORM.

Deployment

The API uses Docker containers to make it easy to deploy to a web server. The dev and production environments are exactly the same. There is a "shop_api" container which contains the server itself and it runs on port 5001. There is also a separate container running a PostgreSQL server that the api persists data to.

Docker Commands

  • docker-compose build (build both images)
  • docker-compose up (run both containers)
    • Access the API on localhost:5001
  • docker-compose down -v (remove old database volumes)
    • You must remove the old volumes if you make any structural changes

family-shop's People

Contributors

evan-buss avatar

Watchers

James Cloos 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.