# API Commands

Let's discuss the possible commands this project supports

# lint:fix

This command will fix the linting issues. And report if not fixed.

npm run lint:fix

# start:local

Starts the server on 3001 port using local env.

If both MySQL and Redis connections are successful, then you will see a running... message.

npm run start:local

# start:prod

Starts the server using production env.

npm run start:prod

# build

To build the project

npm run build

# start

This command can be used to start with build files. Note: You will have to pass the ENV to start.

STORE_API_ENV=local npm run start
STORE_API_ENV=production npm run start