Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

A non-framework with Micri and friends.

Notifications You must be signed in to change notification settings

turist-cloud/micri-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micri Framework

All services written in TypeScript are hosted under the srv directory. The build config, package.json, etc. are common to all services and each service is built using make. The source directories for services are prefixed with api- and all the common library code is located under lib.

A docker-compose.yaml is provided for local testing and building the Docker images.

Development

To build all services for local development without using Docker:

$ make

Dependencies can be installed either by running yarn install manually or by running the build with make as the Makefile will install TS dependencies too.

Adding a new service

  1. Create a directory for the service api-<something>
  2. Add an index.ts file under src/ in that directory
  3. Add the endpoint to the ENDPOINTS list in the Makefile in this directory
  4. Add the service to the docker-compose.yaml

About

A non-framework with Micri and friends.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published