Skip to content

This is a Restful API repository for Nibiru Digital Book. This Restful API is built using ExpressJS and PostgreSQL.

License

Notifications You must be signed in to change notification settings

andry-pebrianto/nibiru-digital-book-server

Repository files navigation

About The Project

This is a Restful API repository for Nibiru Digital Book. This Restful API is built using ExpressJS and PostgreSQL.

Technology Used

Getting Started

Installation

  • Clone this project with https://github.com/andry-pebrianto/nibiru-digital-book-server.git
  • Install package required with yarn
  • Setting .env
NODE_ENV=
PORT=

DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_NAME=

JWT_SECRET=

EMAIL_FROM=
EMAIL_USER=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
REDIRECT_URI=
GMAIL_REFRESH_TOKEN=

CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

MIDTRANS_APP_URL=
MIDTRANS_SERVER_KEY=
FRONT_END_URL=
  • Migrate database using yarn run migrate:up

Executing program

  • Run program with yarn run dev for development and yarn run start for production (must be compiled first with yarn run compile)

Related Project

Authors

Contributors names and contact info:

  1. Andry Pebrianto

License

This project is licensed under the MIT License - see the LICENSE file for details