Skip to main content

Installation

Steps to Install Locally for Development

1. Clone Git Repository

git clone  https://github.com/tekdi/event-management-service
cd event-management-service
npm install

2. Setup DB

Make sure you have PostgreSQL installed and running. Create a database for the event service

3. Environment Variables

Create a .env file in the root directory of your project and add the necessary environment variables.


#server
POSTGRES_HOST="add-here"
POSTGRES_PORT="add-here"
POSTGRES_USERNAME="add-here"
POSTGRES_PASSWORD="add-here"
POSTGRES_DATABASE="add-here"
POSTGRES_SCHEMA="add-here"

EVENT_CREATION_LIMIT="add-here"
TIMEZONE="add-here"
TIMEZONE_OFFSET="add-here"
TIMEZONE_OFFSET_STRING="add-here"

4. Run the Application

npm run start:dev

Steps for Server Side Setup

@TODO