Skip to content

MathieuBurnat/api-client-bc

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Installation

  1. Before the installation

We highly recommand you to read the wiki, especially the get started section.

  1. Configure the environment variables inside the .env file.
// The url of the database
DATABASE_URL="postgres://user:password@localhost:5432/database"
  1. Install dependencies.
npm install
  1. Don't forget to seed the database. (See the Database & Prisma section)

  2. Run the application.

npm run start

Database & Prisma

# seed database
npx prisma db seed

# push schema
npx prisma db push

# lunch prisma studio
npx prisma db push

# generate schema
npx prisma generate

Running the app

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

Test

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

Api that plays with Bigchaindb-driver-js 🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages