A simple evaluation results viewer with a React frontend and Express backend.
mini-foo/
├── app/ # React frontend application
│ ├── public/ # Static files
│ ├── src/ # Source files
│ └── package.json # Frontend dependencies
└── server/ # Express backend application
├── src/ # Source files
├── bootstrap.ts # Database initialization
└── package.json # Backend dependencies
- Install dependencies:
npm install
- Start the server:
npm start
The server will run on http://localhost:8085
- Navigate to the app directory:
cd app
- Install dependencies:
npm install
- Start the development server:
npm start
The application will open in your browser at http://localhost:3007
GET /evals
- Retrieve all evaluations with their results
- React
- TypeScript
- Create React App
- Testing Library
- Express
- better-sqlite3
- TypeScript
- Node.js
- Frontend code is in
app/src/
- Backend code is in
server/src/
- Database schema and sample data are in
server/bootstrap.ts
- API models are in
server/src/models/
- The frontend runs on port 3007 to avoid conflicts with other services
- The backend uses SQLite for data storage
- CORS is enabled on the backend to allow frontend requests