artisan-tattoo / assistant-api

A simple CRM for managing tattoo shops.
artisanassistant.com
67 stars 8 forks source link

Artisan Tattoo Assistant - API

travis-status code-climate dependencies

Prerequisites

NodeJS

Artisan Assistant API is an application built in Node JS using the Endpoints framework.

To run this app, please install Node.

Databases

This application is configured to be backed by a PostgreSQL database in production and SQLite in development. To use PostgreSQL locally, you will need to install it.

If you would like to change the database this application uses, update the knexfile. NOTE: You may also need to update the types in the migrations.

Knex CLI

This application uses the Knex command line tool to run migrations and seed the database. You will need to install it globally:

$ npm install knex -g

Up and Running

$ git clone git@github.com:artisan-tattoo/assistant-api.git
$ cd assistant-api
$ npm install
$ npm run db:setup
$ npm start

Navigate to http://localhost:8080.

Scripts

Artisan Assitant API uses npm scripts to automate tasks. The tasks available are: