All Projects → colmena → Colmena

colmena / Colmena

Licence: mit
Colmena is a starter kit for an API with an Admin interface that can be easily extended and built upon.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Colmena

loopback-object-acl
Object-level ACL for Loopback Node.js framework
Stars: ✭ 13 (-99.08%)
Mutual labels:  loopback, help-wanted
loopback-component-mq
Loopback Component for working with a Message Queue
Stars: ✭ 19 (-98.66%)
Mutual labels:  mit, loopback
Cc
一个基于angular5.0.0+ng-bootstrap1.0.0-beta.8+bootstrap4.0.0-beta.2+scss的后台管理系统界面(没基础的同学请先自学基础,谢谢!)
Stars: ✭ 416 (-70.7%)
Mutual labels:  mit, ng2
loopback-ds-paginate-mixin
A mixin to provide pagination for loopback Model properties
Stars: ✭ 31 (-97.82%)
Mutual labels:  mit, loopback
loopback-component-migrate
Migration framework for loopback
Stars: ✭ 43 (-96.97%)
Mutual labels:  mit, loopback
angular2-cookie-law
Angular2+ component that provides a banner to inform users about cookie law
Stars: ✭ 38 (-97.32%)
Mutual labels:  ng2, ng4
Loopback Component Access Groups
Access controls for Loopback.
Stars: ✭ 56 (-96.06%)
Mutual labels:  loopback, mit
Cra Monorepo Examples
Monorepo w/ shared components.
Stars: ✭ 80 (-94.37%)
Mutual labels:  monorepo
Cloudcmd
✨☁️📁✨ Cloud Commander file manager for the web with console and editor.
Stars: ✭ 1,332 (-6.2%)
Mutual labels:  mit
Ng2 Konva
Angular & Canvas - JavaScript library for drawing complex canvas graphics using Angular.
Stars: ✭ 78 (-94.51%)
Mutual labels:  ng2
Purser
Interact with Ethereum wallets easily
Stars: ✭ 76 (-94.65%)
Mutual labels:  monorepo
Lite
Split a repository to read-only standalone repositories
Stars: ✭ 1,229 (-13.45%)
Mutual labels:  monorepo
Edx 6.00.1x Introduction To Computer Science And Programming
MIT edX 6.00.1x Introduction to Computer Science and Programming problem sets code
Stars: ✭ 96 (-93.24%)
Mutual labels:  mit
Ai Reading Materials
Some of the ML and DL related reading materials, research papers that I've read
Stars: ✭ 79 (-94.44%)
Mutual labels:  mit
Loopback Component Jsonapi
JSONAPI support for loopback.
Stars: ✭ 104 (-92.68%)
Mutual labels:  loopback
Generator Django Rest
Yeoman generator for a Django REST/GraphQL API, an optional React SPA & lots more!
Stars: ✭ 77 (-94.58%)
Mutual labels:  monorepo
Itsagramlive
It's A Gram Live is a Python script that create a Instagram Live and provide you a rtmp server and stream key to streaming using sofwares like OBS-Studio.
Stars: ✭ 107 (-92.46%)
Mutual labels:  help-wanted
Has Changed Path
GitHub Action that saves time and money in monorepo environments
Stars: ✭ 102 (-92.82%)
Mutual labels:  monorepo
Scale
The Scale library offers a set of customizable web components written with Stencil.js & TypeScript. The default theme of the library can be easily replaced so that a corresponding corporate identity of a dedicated brand can be represented.
Stars: ✭ 87 (-93.87%)
Mutual labels:  monorepo
Flow Mono Cli
A command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.
Stars: ✭ 84 (-94.08%)
Mutual labels:  monorepo


Free and Open Source 
Full Stack
RAPID API DEVELOPMENT

Powered by LoopBack and Angular


About

Colmena is a starter kit for an API with an Admin interface that can be easily extended and built upon.

It is built using a collection of great Open Source projects, including but not limited to:

⚠️ Warning

This software is under active development!

Please do not use it in production without addressing the issues in the Work in Progress section

Work in Progress

Colmena is a work in progress and not all functionality is built yet.

  • Only basic ACLS are implemented, this means that the API can be used by whoever has access to it
  • The interface does not reflect the user role (admin/manager/user)
  • Content will be leaking across domains, while this should not be possible

Structure

The project is a mono-repo managed by lerna. It is structured like this:

  • apps/
    • admin The Admin interface built with Angular.
    • api The REST API built with LoopBack.
  • modules/
    • admin-* Modules that add functionality to the Admin app.
    • api-* Modules that add functionality to the API app.
  • packages/
    • admin-* Packages used by the Admin app.
    • api-* Packages used by the API app.

The structure of this project is inspired by this great example: OasisDigital/scalable-enterprise-angular.

Installation

Requirements

Software installed on your system:

  • node (v6.9.x or higher).
  • npm (v3.x or higher).

Globally installed Node packages:

npm install -g @angular/cli lerna loopback-cli

Setup

Clone the repository and install the dependencies:

git clone https://github.com/colmena/colmena
cd colmena
npm install
lerna bootstrap

Development

Running in development mode

When the project is running in development mode the API and the Admin will restart automatically when a code change is detected.

URLs

Start the project

From inside the project dir run npm run dev:

npm run dev

This will start both the API and the Admin in the same terminal.

You can also start the two components separately:

Start the API

npm run dev:api

Start the Admin

npm run dev:admin

Clean up the project

During development it can be useful to bring the project back to a clean state. To do this run:

npm run clean && npm install && lerna bootstrap

Configuring the development setup

local.yaml

You can configure the API in development mode by creating a local.yaml file in config. The contents of this file is not tracked by git so it only lives on your local machine.

To start with the default settings copy config/default.yaml to config/local.yaml.

Sample data

The API comes with a set of sample data for development.

To load the sample data when starting the API update local.yaml to include:

system:
  initdb: true

You can also use the INITDB environment variable.

API Base Url

By default the development stack assumes that the API and Admin are both started on localhost (using 127.0.0.1).

In order to run the API on another host than localhost the admin needs to know on which IP address it can reach the API. To do this you need to update the api.baseUrl config property.

Make sure to configure the API Base Url without a trailing slash.

To set the API Base Url update local.yaml to include:

api:
  # Do not use trailing spaces for the baseUrl
  baseUrl: http://192.168.12.34:3000

You can also use the API_BASE_URL environment variable.

You should now be able to connect to the Admin on http://192.168.12.34:9000 and it should connect to the API.

Development Servers

Colmena comes with a Docker Compose configuration for running development servers easily.

mongodb

To use the mongodb server update local.yaml to include:

mongodb:
  url: mongodb://localhost/colmena

You can also use the MONGODB_URL environment variable

mailhog

To use the mailhog server update local.yaml to include:

smtp:
  host: localhost
  port: 1025

You can also use the SMTP_HOST and SMTP_PORT environment variables

Start the servers

npm run servers # or: npm run servers:start

Show the servers logging

npm run servers:logs

Stop the servers

npm run servers:stop

Delete the servers

npm run servers:rm

Contributors

Thanks goes to these wonderful people (emoji key):


Bram Borggreve

💬 🐛 💻 🎨 📖 🔧

Willian Ribeiro Angelo

💻

Nick Portokallidis

💻

drmikecrowe

💻

Vladimir Mechkauskas

💻

Bernardo Arevalo

💻

yieme

💻

Brian McIntyre

💻

Rob Halff

💻

Asgeir Birkisson

💻

dthib

💻

Oleh Kukil

💻

Pulkit Singhal

💻

Tuan PM

💻

brownman

💻

Hoàng Phúc

💻

Brian Dunnette

💻

Chenzc

💻

Tersius Kuhne

💻

Alex Quiambao

💻

José Luis Di Biase

💻

Shing.

💻

Alex Wilde

💻

dmtw

💻

Marcus

💻

Brannon N. Darby II

💻

Sebastian Podgajny

💻

IsCaster

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

This project was formerly known as Loopback Angular Admin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].