Codeether is a complete web application, an analogue of Pastebin, which allows users to save any code up to 10MB without registration. The application also provides an open API and uses the editor of Monaco Editor (analogue of Visual Studio Code). Peculiarities
Make sure your following programs are installed:
git clone https://github.com/yourusername/codether.git
cd codetherInstallation of addictions
cd frontend
yarn install
cd ../backend
yarn installGo to the Server directory and run the server:
cd backend
yarn startGo to the Client directory and run the server:
cd frontend
yarn serveThe application will be available at http: // localhost: 8080. Open API
POST /api/code/create - Сохранить новый код.
POST /api/code/get/:shortid - Получить сохраненный код по ID.
POST /api/code/update/:shortid - Обновление кода
curl -X POST http://localhost:3000/api/code/create -H " Content-Type: application/json " -d ' {"code": "console.log("Hello World");"} 'Project structure
Bash
codether/
├── frontend/ # VueJS frontend
│ ├── src/
│ ├── public/
│ └── ...
├── backend/ # NestJS backend
│ ├── src/
│ ├── test/
│ └── ...
├── README.md
└── package.json
If you want to contribute to the project, please create Pull Request or open Issue in the repository.
This project is licensed under the MIT license. For more details, see License file.