/circle-server

This is a Restful API repository for Circle. This Restful API is built using ExpressJS and PostgreSQL.

Primary LanguageTypeScriptMIT LicenseMIT

About The Project

This is a Restful API repository for Circle. This Restful API is built using ExpressJS and PostgreSQL.

Technology Used

Getting Started

Installation

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

DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_NAME=

JWT_SECRET=

CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

AMQP_SERVER=

REDIS_PORT=
REDIS_HOST=
REDIS_PASSWORD=
  • 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