Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.22 KB

README-en.md

File metadata and controls

36 lines (23 loc) · 1.22 KB

Coding WebIDE Backend

This repo is the backend of Coding WebIDE Community Edition

Dev Environment

The backend is written in Java, and uses Maven as build tool. We recommend IntelliJ IDEA or Eclipse as IDE.

Configuration

Everything in /src/main/resources/application.properties, including user info, project and database configs, etc.

Packages

config: Config classes
dto: dto classes
entity: Entity classes
event: Event-related classes
git: Classes that extend jgit class
model: Data model/structure
repository: Repository class, for database query purpose
service: Service classes
tty: A Java implementation of terminal
utils: Utils classes
web: Web-related classes, controllers etc.

Run the project

The backend first packs the frontend to webjar, and import as a maven dependency, thus packing the frontend is required before run.

Please refer to the script in WebIDE-Workspace repo, which provides a command to compile and run the whole project.

If you want to pack the frontend manually, please refer to WebIDE-Frontend-Webjars repo.

Once done packing, start the poject with mvn spring-boot:run.