Skip to content

justmavi/kersan-back

Repository files navigation

Installation

  1. Clone repository
$ git clone git@github.com:justmavi/kersan-back.git
$ cd kersan-back
  1. Install packages with yarn
$ yarn install
  1. Clone .env.example file into .env
$ cp .env.example .env

Running the app

  1. Delete old sources
$ yarn prebuild
  1. Build the app
$ yarn build
  1. Run docker containers
$ docker-compose up --build -d
  1. Run migrations
$ yarn migrate:run
  1. Run application
# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

For debug mode just press F5. App will start automatically by launch.json configurations.

IDE

Recommended to use Visual Studio Code.
Necessarily setup Prettier and ESLint.
Check guide: Config ESLint and Prettier in Visual Studio Code.

Stay in touch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published