Provide OpenAI API for services, and subsequently access more AI-related API
Node >= 16
Recommend Node 18
npm i
npm i nodemon -g
npm i typescript -g
touch .env
#.env
PORT=8080
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
npm run start
touch .env
#.env
PORT=8080
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
npm i pm2 -g
tsc
NODE_ENV=prod pm2 start build/main.js --name=api-service
curl --location --request GET 'http://localhost:8080/ping'
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)GPL © 2023 Jarvan-via