- Clone the repository into a working directory
- Install dependencies with
npm install && npm run install:globals
- Copy the example config file to
development.json
,test.json
andproduction.json
- Create the database tables
npm run migration
- Run the tests
npm test
- Start the development server
npm start
\bin
Scripts for creating, editing and searching DB records\config
Environment configuration files\lib
Modules used throughout the project\migrations
Database migration scripts\models
Database models\routes
HTTP route handlers
- Update or create a model module in
/models
- Run
npm migration:create
to create a new migration script in/migrations
- Update the migration script to reflect your model changes
- Run
npm run migration
to update your database
Database records can be added, edited and searched using the utility scripts in /bin
.