Coder Social home page Coder Social logo

kaindljulian / todo-manager Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 490 KB

Simple full stack web app using grpc

License: MIT License

JavaScript 96.29% HTML 3.58% CSS 0.13%
grpc grpc-node grpc-web protobuf3 envoy envoy-proxy nodejs mongodb react material-ui

todo-manager's Introduction

todo-manager

A simple full stack webapp with gRPC

Alt text

  • MongoDB
  • gRPC Node.js backend
  • Envoy
  • Nginx
  • React

gRPC

  • server is using the grpc npm package
  • client is using the grpc-web-client npm package
  • protocol stubs generated using protoc with the ts-protoc-gen npm package

todo.proto

syntax = "proto3";

package todo;

message Empty {}

message Todo {
    required int32 id = 1; 
    required string title = 2;
    optional string body = 3;
}

message TodoIdRequest {
    int32 id = 1;
}

message TodoList {
    repeated Todo todos = 1;
}

service TodoService {
    rpc GetTodo (TodoIdRequest) returns (Todo)  {}
    rpc ListTodos (Empty) returns (TodoList) {}
    rpc InsertTodo (Todo) returns (Empty) {}
    rpc DeleteTodo (TodoIdRequest) returns (Empty) {}
}

Getting started

Clone the repository

git clone https://github.com/KaindlJulian/todo-manager.git

Run the containers with docker-compose

docker-compose build docker-compose up

The webapp is running on localhost:80

todo-manager's People

Contributors

kaindljulian avatar

Stargazers

 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.