Provide OpenAI API for services, and subsequently access more AI-related API
- Prerequisites
- Install
- Usage
- Deploy On Unix Platform
- Check Your Service
- Maintainers
- Contributing
- License
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
GPL © 2023 Jarvan-via