Skip to content

ashaffah/kode-pos

Repository files navigation

Kode Pos

Contents

About

Indonesian Postal Code with fastify and prisma orm.

Getting Started

Requirements

Node Version^18.18.2 or higher. If you haven't installed node js, please visit the link below:

https://nodejs.dev/en/download

NPM Version^9.8.1 or higher.

Quick Start

With Makefile.

Install :

make install
#with bun
make bun

Migrate databases :

make migrate

db push :

make db

Run :

make

Manual.

Install :

npm i
#with bun
bun i

Migrate :

npx prisma migrate dev --schema prisma/schema.prisma

Run :

  1. Build.
npm run build
  1. Start.
npm run start
#with bun
bun start

License

MIT