Skip to content

Creating an enterprise-flavoured ToDo application from scratch with the Furo Web Stack. Story line: Peter has been working in a software company for 10 years and he even managed to get a stake in the company. Recently, the company got a new investor and Peter had to sell his shares. With the realised profit, he bought a modern apartment building…

License

Notifications You must be signed in to change notification settings

theNorstroem/todo-management-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating an enterprise-flavoured ToDo application from scratch with the Furo Web Stack

ToDo Application

screenshot screenshot

System Prerequisites

For this example to fly, the following software components should be installed on the system.

Getting Started

We recommend 2+ years of programming experience in JavaScript / HTML / CSS and a basic knowledge of Protocol Buffers. Experiences in Go is also a plus. But don’t worry, you don’t have to be an expert.

download the eBook: eBook.pdf eBook.epub The e-book includes a usecase-driven guide through the chapters

clone the repository:

git clone [email protected]:theNorstroem/todo-management-tool.git 

checkout chapter 01:

git checkout c01_todos_api_contract

Final Project Structure

. |-- LICENSE |-- README.md |-- api |-- client `-- grpc-backend

Local API Development

Use local container build

Furo build environment docker container

https://hub.docker.com/r/thenorstroem/furo-bec

docker pull thenorstroem/furo-bec:v1.35.1

Example Usage: docker run -it --rm -v $(pwd):$pwd/specs -v ~/.ssh:/root/.ssh thenorstroem/furo-bec:v1.35.1

Commands: https://furo.pro/docs/commands/

start the furo build environment container from /api

Local Web Application Development

All the web application source is located in the subfolder client.

Install dependencies

npm i

Starting Web Application in mock mode

npm run start:mock

Starting Web Application with backend proxy (backend for frontend)

npm run start

Local gRPC Server Development

All the gRPC server code is located in the subfolder /grpc-backend.

cd grpc-backend
go run ./...

or with the built version

cd grpc-backend
go install ./cmd/...
tmt-grpc

Local gRPC Gateway

All the gRPC gateway code is located in the subfolder /api/dist/grpc-gateway.

cd api
GW_SERVER_ADDRESS=localhost:8481 GRPC_SERVER_ADDRESS=localhost:7070 go run ./...

or with the built version

cd api
go install ./dist/grpc-server/cmd/...
GW_SERVER_ADDRESS=localhost:8481 GRPC_SERVER_ADDRESS=localhost:7070 cmd

About

Creating an enterprise-flavoured ToDo application from scratch with the Furo Web Stack. Story line: Peter has been working in a software company for 10 years and he even managed to get a stake in the company. Recently, the company got a new investor and Peter had to sell his shares. With the realised profit, he bought a modern apartment building…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published