Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…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 232bb05 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
  • Loading branch information
deepsource-autofix[bot] authored Jul 22, 2024
1 parent 232bb05 commit c7ed0de
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/KOSASIH/cosmia-core">Cosmia</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://www.linkedin.com/in/kosasih-81b46b5a">KOSASIH</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Creative Commons Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""></a></p>

# 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

Expand All @@ -27,35 +26,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

Expand Down

0 comments on commit c7ed0de

Please sign in to comment.