Web Server Integrates with KeyCloak

This server built with nodemon, express js, and sequelize.

Technology (requirements):

  • Node.js (v16.17.0)
  • PostgreSQL (connection database)

Installation

  1. Clone this repo and navigate your cloned project on your directory

  2. Create file .env and follow content from .env.example. Configure connection following from here

  3. Install package following from the list packages:

npm install
  1. Run the migration to create table on your database
npm run db:migrate
  1. Edit the file keycloak.json or you can download your adapter config on KeyCloak Server

  2. Now, you run the project

npm run start

Expected Output

> be-service@1.0.0 start
> node src/app

App running on http://localhost:4000