teikei logo

teikei

  •  0 ratings
In category: Community-Supported Agriculture (CSA)

About teikei

A web application that maps out community-supported agriculture based on crowdsourced data.

  •   390  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: N/A  
  •   N/A  
  •   N/A  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about teikei

Production

Map CI API CI Admin CI

Preview

Map CI API CI Admin CI

Teikei

Teikei is a web application and API that maps out community-supported agriculture in Germany, Switzerland, and Austria, based on crowdsourced data.

It is used by

Introduction

The repository is a monorepo consisting of 3 modules:

API /api

Teikei API is a Node application written with Feathers using Express as a server. It exposes a JSON REST API, data is stored in PostgreSQL. It also includes a job queue built with node-schedule.

Map /map

Teikei Map is a Single Page Application built with React and Redux. It was generated with the default create-react-app with added Sass support. Uses leaflet to display the map, feathers-client to connect to the API backend, joi for validation, superagent as a REST client.

Admin /admin

Teikei Admin allows content moderators and administrators to update and manage stored data. It connects to the same Teikei API backend application as the frontend module, but through separate Admin API endpoints. It's built with crudl.io, an open-source admin dashboard.

The monorepo makes use of yarn workspaces and lerna and provides top-level scripts to run a complete Teikei application stack with a single command and to conveniently work with all 3 modules from a single repository.

Getting started

Requirements

Teikei requires node >= 18, yarn and PostgreSQL >= 9.5.

Get the code

Clone the repository and install dependencies

git clone https://github.com/teikei/teikei
cd teikei
yarn install

Configure project settings

You need to create an .env file in the root directory which contains the environment variables needed to run the project. The included .env.sample file lists the variables which need to be set.

Setup PostgreSQL database

Teikei rquires Post

Running API / Map in development mode

  • To start the map application in development mode run yarn dev
  • The map frontend will be started at http://localhost:3000. The frontend express server runs on port 3000 and will proxy request to the API server on port 3030.
  • The API server will run on http://localhost:3030

Or: Running API / Admin in development mode

  • To start the admin application in development mode run yarn dev-admin
  • The admin frontend will be started at http://localhost:4000. The frontend express server runs on port 3000 and will proxy request to the API server on port 3030.
  • The API server will run on http://localhost:3030

Build for production

  • Build the project for production with yarn buildeither in the root directory to build all modules or individually in module subfolders. The build output will be copied to the /build folders of modules.

Test data

  • To create initial data, run knex seed:run inside the /api folder
  • The command will create the following test users
username password roles
superadmin@example.com admin superadmin
admin@example.com admin admin
user@example.com admin user

Roadmap

We use Taiga to plan upcoming features and track bugs. If you want to participate, it's probably a good idea to look for open issues there. Before working on bigger features, however, it's advisable to get in contact with us, so that we can coordinate progress a little.

Report a bug

Bugs, Issues and Feature requests can be added as issues here on Github, they will be automatically exported to our Taiga Bug tracker.

Authors & contributors

License

Comments (0)

Please login to join the discussion on this project.

teikei Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 7k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Dashboard

in Personal Dashboards
 5k    0    0    0  

Audiobookshelf

in Audio Streaming
 5k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 1k    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Open Food Network logo
Open Food Network cover

Open Food Network

Online marketplace for local food. It enables a network of …

Cagette logo
Cagette cover

Cagette

Open source web app to help people build a better and susta…

FoodCoopShop logo
FoodCoopShop cover

FoodCoopShop

User-friendly open source software for food-coops.