Nest JS Boilerplate
PostgreSQL
TypeORM
GraphQL
&REST
Redis
(Caching)I18n
(Translation)
-
clone repository
git clone git@github.com:abdul15irsyad/janna.git
-
install dependencies with
yarn
(or package manager that you used)cd janna yarn install
-
configure environment, copy from
.env.example
to.env
and adjust to your setup (database, redis, SMTP, etc)cp .env.example .env
-
create database based on
DB_NAME
in.env
file -
running
migration
and defaultseeder
yarn migrate:run && yarn seed:all
-
start application
yarn start
or with
development
modeyarn start:dev
try running the application with docker compose
docker compose up -d