From c19fa964a3e262e2e7d4fb372c8025045a4a92dc Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 14:17:28 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in d6dbbe9 according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- README.md | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6b425a1..c128b72 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,16 @@

Cosmia by KOSASIH is licensed under Creative Commons Attribution 4.0 International

# cosmia-core + The central repository for the Cosmia project, containing the core architecture and infrastructure for the Sidra Chain. -Cosmia Core -============ +# Cosmia Core The central repository for the Cosmia project, containing the core architecture and infrastructure for the Sidra Chain. Project Cosmia is an ambitious initiative to develop the Sidra Chain, a revolutionary, high-tech network that interconnects stars and galaxies across the universe. By harnessing the power of advanced technologies, Cosmia aims to create a vast, celestial network that enables seamless communication, data exchange, and cooperation between diverse, intelligent life forms. This groundbreaking project will propel humanity to the forefront of intergalactic exploration, fostering a new era of cosmic collaboration, discovery, and progress. -Getting Started ---------------- +## Getting Started ### Installation @@ -26,35 +25,33 @@ Getting Started 1. Start the server: `npm start` -API Endpoints -------------- +## API Endpoints ### Register -* **POST /register** - + Request Body: `username`, `email`, `password` - + Response: `201 Created` with a success message +- **POST /register** + - Request Body: `username`, `email`, `password` + - Response: `201 Created` with a success message ### Login -* **POST /login** - + Request Body: `username`, `password` - + Response: `200 OK` with a success message +- **POST /login** + - Request Body: `username`, `password` + - Response: `200 OK` with a success message ### Send Message -* **POST /send-message** - + Request Body: `from`, `to`, `content`, `type`, `priority` - + Response: `201 Created` with a success message +- **POST /send-message** + - Request Body: `from`, `to`, `content`, `type`, `priority` + - Response: `201 Created` with a success message ### Get Messages -* **GET /messages** - + Query Parameter: `userId` - + Response: `200 OK` with an array of messages +- **GET /messages** + - Query Parameter: `userId` + - Response: `200 OK` with an array of messages -License -------- +## License Apache 2.0 License