Skip to content

Pavel-Tyan/publication-api

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

Run with Docker

$ docker build -t post-api .

$ docker-compose up -d

Run without Docker

To run app itself without docker, you need to change field MONGO_HOST from 'mongo' to 127.0.0.1 in .env file and run only database container in docker-compose file. You also need this, if you want run tests.

if you want to run both through docker, change MONGO_HOST to 'mongo'

# install dependencies
$ npm install

# run app
$ npm run start

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Swagger

Open http://localhost:3000/docs

About

Backend for posting publication and commenting them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published