| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
NodeJS boilerplate project
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Make sure you have Node.js and Docker (preferably) installed. This will make it easy to run the project locally and all tests without having to install PostgreSQL and Redis onto your system.
Install all dependencies
npm installThis repository contains a docker-compose.yml file providing PostgreSQL and Redis.
Start PostgreSQL in daemon mode:
docker-compose up -d postgresThe project uses a sql query builder called knex.js which provides migration support. Run all migrations via npm run db:migrate.
The project uses a sql query builder called knex.js which provides seeding support. Run all initial seeds via npm run db:seed.
Start redis in daemon mode:
docker-compose up -d redis// Start
npm run start
// Build and start
npm run servenpm run testnpm run test:coverageWhen you find issues, please report them:
Be sure to include all of the output from the npm command that didn't work as expected. The npm-debug.log file is also helpful to provide.
See the list of contributors who participated in this project.
This project is licensed under the ISC License - see the LICENSE.md file for details
| Back | FazBrowse Home | New Git URL |