sduzair / meal-dash

Capstone group 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

Source code for Meal Dash

Flutter CI

About the project

With our application we want to create a platform that offers tiffin/meal prep plans that are healthy and delivered to the doorstep of our customers. Customers would be able to select from a wide range of meal plans and subscribe to them. Food service vendors can advertise their meal plans that are composed of multiple containerized and portioned meals which are delivered on a weekly basis to their customers. πŸŽ‰πŸŽŠπŸŽˆπŸŽˆ

Built With

This section lists the major frameworks/libraries used to bootstrap the project.

Dart TypeScript Flutter Express.js NPM NodeJS MySQL Docker Jira Swagger

Table of Contents
  1. About The Project
  2. Getting Started

Getting started

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g

Setup (local)

With Docker Compose

From root run following commands in sequence:

  1. docker-compose up -d mysql-master
  2. docker-compose up -d server

Without Docker Compose

Commands:

  1. Go into app folder run npm install
  2. Open two terminals, run node server on one terminal and run typescript compiler on the other.
  3. Command to compile Ts code to JS npm run compile
  4. Command to run node server npm run nodemon
  5. Swagger UI http://localhost:3000/api-docs/#/
  • Sample .env
meal-dash-business/.env.development.local
meal-dash-business/.env.production.local
meal-dash-business/.env.development.local
meal-dash-business/.env.test.local
  • PORT PORT = 3000

  • DATABASE

DB_HOST = localhost
DB_PORT = 3306
DB_USER = YOUR_USER
DB_PASSWORD = YOUR_USER
DB_DATABASE = meal-dash
  • TOKEN SECRET_KEY = secretKey

  • LOG

LOG_FORMAT = dev
LOG_DIR = ../../../logs
  • CORS
ORIGIN = *
CREDENTIALS = true

(back to top)

About

Capstone group 7


Languages

Language:Dart 76.7%Language:TypeScript 12.7%Language:C++ 3.6%Language:CMake 3.2%Language:HTML 1.0%Language:Handlebars 0.7%Language:Swift 0.6%Language:Ruby 0.5%Language:JavaScript 0.4%Language:C 0.2%Language:Makefile 0.1%Language:Dockerfile 0.1%Language:Kotlin 0.1%Language:Objective-C 0.0%Language:Procfile 0.0%