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