Giter Club home page Giter Club logo

misiki-food-graphql-old's Introduction

graphql

GraphQL chat API & UI monorepo.

Setup

Dev

# (Linux) Export UID to fix permissions
export UID

# Boot the stack; this will
# - provision mongo & redis
# - launch api & web
npm run up

# Only run api & web
npm run dev

# Stop containers
npm run stop

# Tear down containers
npm run down

Prod

# (Linux) Export UID to fix permissions
export UID
# (Linux) Create volume dir with current user
mkdir data

# Create env file
cp .env.example .env
# or export into shell
export $(cat /path/to/.env)

# Boot the stack
docker-compose up -d

# View logs
docker-compose logs

# Re-build api & web after changes
docker-compose build api web

MVP

As a user, I can

  • sign up / sign in / sign out / reset pwd
  • start a private chat with user(s)
  • invite users to a chat / leave a chat
  • send messages to other user(s)
  • see incoming messages live
  • upload files (images, video, text)
  • maintain privacy (can't read others chats/msgs)

Next Phase

As a user, I can

  • receive confirmation emails
  • edit my profile
  • start a public group chat
  • see typing indicator
  • customize the theme
  • upload code snippets

Stack

BE

  • Node + Express + TS
  • GraphQL + Apollo Server + WS
  • express-session + Redis
  • MongoDB + Mongoose

DevOps

  • nginx
  • Docker + docker-compose

misiki-food-graphql-old's People

Contributors

itswadesh avatar

Stargazers

vienues avatar

Watchers

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