Skip to content

About

this is service that provided apis for project data

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

Guide to Run the Project Service

This guide provides step-by-step instructions to set up and run the service.

Prerequisites

  1. Ensure you have Node.js installed (preferably the latest LTS version).
  2. Install npm (comes bundled with Node.js).
  3. Set up a PostgreSQL database.

1. Install Node.js and npm

Ensure you have Node.js and npm installed on your system. You can download and install them from Node.js official website.

To verify the installation:

node -v
npm -v

2. Install Dependencies

Run the following command to install the required dependencies:

npm install

3. Update the Config File

Example config.js:

export default {
    app: {
        host: localhost,
        port: 5000
    },
    database: {
        username: your_database_username,
        password: your_database_password,
        name: your_database_name,
        host: your_database_host,
        port: 5432
    }
};

4. Compile TypeScript to JavaScript

Run the following command to compile TypeScript files into JavaScript:

tsc

The compiled JavaScript files will be located in the dist directory.


5. Run the Service

Start the application using the compiled JavaScript files:

node dist

About

this is service that provided apis for project data

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages