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

create-hammer-app

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-hammer-app

In order to figure out what Hammer should be like, we're first developing a simple apps ([invoice](https://github.com/hammerframework/billable) and [todo](https://github.com/hammerframework/todo) with the technology stack we want and seeing how it feels.

  • 0.0.1-alpha.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

HammerFramework's create-hammer-app

In order to figure out what Hammer should be like, we're first developing a simple apps (invoice and todo with the technology stack we want and seeing how it feels. Eventually, the things we learn here will be codified in the Hammer "architectural style" and a set of command line tools will help generate various things you need during a Hammer development cycle.

Getting Started

Setup

We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:

yarn install

Generate a SQLite database and ORM client:

yarn db:up

Fire it up

yarn dev

Run yarn open to open your browser on http://localhost:8910.

Browse to http://localhost:8910 to see the web app. Lambda functions run on localhost:8911 but are proxied to localhost:8910/api/functions/*.

Development

Database

We're using Prisma's Photon ORM and Lift Migration Engine.

Prisma2 is not ready for production at the moment.

To create a development database:

yarn db:up

Will read the schema definition in api/prisma/schema.prisma and generate a sqlite database in api/prisma/dev.db

If you've made changes to the schema run yarn db:save to generate a migration, and yarn db:up to apply the migration/ generate a new ORM client.

FAQs

Package last updated on 01 Oct 2019

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