百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

prolog-app

> 前端框架
开源

即将推出的 React 工作模拟器的基础应用程序。通过在真实的工作环境中工作,在一个项目中从业余用户转变为专业用户。

369 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

即将推出的 React 工作模拟器的基础应用程序。通过在真实的工作环境中工作,在一个项目中从业余用户转变为专业用户。

This repository is part of the React Job Simulator where you work in a professional dev environment with advanced tooling and workflows. You implement tasks based on designs starting from small bug fixes to full-blown features. Basically, you learn a lot of the things hands-on that you usually only experience once you joined a professional React team.

The Application

The application is an error logging and monitoring tool similar to Sentry or Rollbar. You can find a deployed version of the main branch at prolog.profy.dev. Note: you have to click the "Dashboard" link in the upper right corner to see the app as shown in the screenshot below.

Codebase Tour

Watch this video for a tour through the codebase.

Getting Started

1. Clone & Install

This project is built with Next.js, TypeScript, Cypress & SCSS modules among others. To start working on the project, first clone the repository on your local machine and install the dependencies.

bash
npm install

2. Create .env File

copy the .env.template file to a new file called .env. This file contains the required environment variables that are injected by Next.js via the dotenv package.

3. Run Development Server

Finally, run the development server:

bash
npm run dev

Now you can open http://localhost:3000 with your browser to see the application.

Recommended VS Code Extensions

This project uses tools like ESLint, Stylelint, and Prettier. To make the most of these tools it's recommended to install the corresponding extensions. For VS Code those are:

  • ESLint
  • Stylelint
  • Prettier
  • SCSS IntelliSense (e.g. for auto-completion of SCSS variables)
  • React CSS modules (e.g. to open the CSS class definition with CMD/Ctrl + click and warn about non-existent class names)

The official Stylelint extension might need some adjustment of your settings.json file. If it doesn't work out of the box try adding these lines:

"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss"],

Additional extensions that I find very valuable are

Code Spell Checker GitLens SVG GitHub Copilot (paid)

Tests

This project is covered with Cypress tests. Although most tests for production apps are currently written with React Testing Library, Cypress is the best option to get started with testing. When you're new to testing the start can be very cumbersome and feel like you're in a completely new dev environment.

Cypress makes it much easier to get started with testing. You still have to get used to the new way of coding but thanks to its awesome UI debugging is easy and very similar to what you're used from your browser.

To run the Cypress tests on your local machine use this command:

bash
npm run cypress

Storybook

Storybook is a great tool to document your components and visually test them in isolation. To open Storybook run

bash
npm run storybook

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptnextjsreact

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架