https://github.com/Coding/WebIDE-Backend
WebIDE 后端项目
https://github.com/Coding/WebIDE-Backend
Last synced: 3 months ago
JSON representation
WebIDE 后端项目
- Host: GitHub
- URL: https://github.com/Coding/WebIDE-Backend
- Owner: coding
- License: bsd-3-clause
- Created: 2016-09-13T03:17:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T01:30:15.000Z (about 7 years ago)
- Last Synced: 2024-11-09T21:27:58.261Z (3 months ago)
- Language: Java
- Homepage: https://ide.coding.net/community
- Size: 1.79 MB
- Stars: 230
- Watchers: 30
- Forks: 122
- Open Issues: 2
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
# Coding WebIDE Backend
[](https://github.com/Coding/WebIDE/blob/master/LICENSE) [](https://travis-ci.org/Coding/WebIDE-Backend) [](https://hub.docker.com/r/webide/backend 'DockerHub') [](https://hub.docker.com/r/webide/backend 'DockerHub')This repo is the backend of **Coding [WebIDE](https://ide.coding.net) 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`.