mromiario / against-comment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Against Comment Organization

Prerequisite

    - Installed Docker
    - Postgrestql

Please running docker-compose build in the time you clone this repository.

  • Import your .env text. For the env example you can go to this file env.example

    • NODE_ENV you can fill it with development
    • POSTGRES_DB your postgres host database, you can fill it with db since we used image from docker container.
    • POSTGRES_USER your postgres user name
    • POSTGRES_PASSWORD your password of postgres user
    • POSTGRES_DB your database name
    • POSTGRES_PORT your allocated port of database
    • EXPRESS_PORTyour allocated port for running the express server
  • For running the express server you can run this command in your terminal docker-compose up -d, then docker-compose logs -f --tail=100 api

  • API Docs:

    • You can visit API Docs in here
  • For Unit Testing you can run docker exec api npm test

About


Languages

Language:JavaScript 97.1%Language:Shell 1.9%Language:Dockerfile 1.0%