Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bloom-housing/backend-core

Package Overview
Dependencies
Maintainers
2
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloom-housing/backend-core

Listings service reference implementation for the Bloom affordable housing system

  • 0.2.16
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-28.57%
Maintainers
2
Weekly downloads
 
Created
Source

Bloom Backend Services

This package is a NestJS application that provides a core set of backend services via REST API endpoints to apps using the Bloom Housing framework. Information is stored in a Postgres database, accessed via TypeORM.

OpenAPI Documentation

OpenAPI (fka Swagger) documentation is automatically generated by the server at http://localhost:3100/docs/ for a standard local development environment. A raw JSON version of the schema is also available at /docs-json/, suitable for API client code generation or other code-based consumers.

Getting Started for Developers

The following steps should provide a working local environement for development purposes:

Setting up your local environment variables

Operational configuration the service is read from environment variables. Copy .env.template to .env and edit the settings specific to your development environment. Make sure the Database URL matches your Postgres configuration.

Setting up a Database

Dev DB reseed:

psql -c 'DROP DATABASE bloom;' && psql -c 'CREATE DATABASE bloom;' && yarn migrate && yarn seed

Test DB reseed:

psql -c 'DROP DATABASE bloom_test;' && psql -c 'CREATE DATABASE bloom_test;' && yarn typeorm-test migration:run && yarn test:seed

Running Tests

End-to-end tests:

yarn test:e2e

or a single module:

yarn test:e2e test/user-applications

FAQs

Package last updated on 02 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc