Skip to content

A portable and modular e-commerce subscription platform

Notifications You must be signed in to change notification settings

nhippenmeyer/revolve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f9a61c · Jun 17, 2019

History

3 Commits
Jun 17, 2019
Jun 17, 2019
Jun 17, 2019
Jun 17, 2019
Jun 9, 2019
Jun 9, 2019
Jun 9, 2019
Jun 9, 2019
Jun 17, 2019
Jun 9, 2019
Jun 17, 2019
Jun 17, 2019
Jun 17, 2019
Jun 16, 2019

Repository files navigation

Revolve

CircleCI

Getting Started

Install Dependencies

Install node.js (v10.16.0). If using nvm the correct version can be automatically installed by running: nvm install

Install node modules: npm install

Database

Postgres

Install postgres: brew install postgres # macOS

Available Scripts

Building

npm run build
npm run watch-ts # watch mode
npm run clean # remove dist directory

Database

npm run db:migrate # migrate database
npm run db:migration:generate <migration_name> # generate migration

Postgres

# Development
npm run db:postgres:create # Create database
npm run db:postgres:drop # Drop database
npm run db:postgres:reset # Reset database

# Test
npm run db:postgres:create:test # Create test database

Running the Application

npm start
npm run watch # watch mode

Linting

npm run lint
npm run fix # fix errors
npm run watch-eslint # watch mode

Testing

npm test
npm run watch-test # watch mode