Skip to content

vrbaghel/ensogrow-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnsoGrow Service

A Node.js Express API service for EnsoGrow.

Features

  • Express.js with TypeScript
  • Environment configuration with dotenv
  • CORS enabled
  • Request logging with Morgan
  • Error handling middleware
  • Development mode with nodemon

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository:
git clone https://github.com/vrbaghel/ensogrow-service.git
cd ensogrow-service
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and configure your environment variables:
PORT=3000
NODE_ENV=development

Development

To start the development server:

npm run dev

The server will start on http://localhost:3000

Building for Production

To build the project:

npm run build

To start the production server:

npm start

Project Structure

ensogrow-service/
├── src/            # Source files
│   └── app.ts      # Main application file
├── dist/           # Compiled files (generated)
├── .env            # Environment variables
├── package.json    # Project dependencies and scripts
└── tsconfig.json   # TypeScript configuration

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors