This project is a feedback generation from human interaction to OpenAI response. Data generated from this application can be used for reinforcement learning for OpenAI.
✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
- Docker - v20
- Node.js - >=v16
- npm - >=v8
- replicate
.env.sample
and rename to.env
, put all required value in it
- Docker is used for local development database setup
- run following command in root folder
docker compose --env-file .env -f ./docker/docker-compose.yml up
npm install
npm run prisma -- db push
- to push prisma schema to databasenpm run dev:api
- to run backend api servernpm run dev:app
- to run frontend nextjs servernpx prisma studio
- to run prisma GUI linked with database
Run nx graph
to see a diagram of the dependencies of the projects.
Run npx nx connect-to-nx-cloud
to enable remote caching and make CI faster.
Visit the Nx Documentation to learn more.