cosmia-core
cosmia-core copied to clipboard
The central repository for the Cosmia project, containing the core architecture and infrastructure for the Sidra Chain.
Awards and Recognitions
Finance Technology Awards and Recognitions
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
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
Installation
- Clone the repository:
git clone https://github.com/KOSASIH/cosmia-core.git - Install dependencies:
npm install
Running the Application
- Start the server:
npm start
API Endpoints
Register
- POST /register
- Request Body:
username,email,password - Response:
201 Createdwith a success message
- Request Body:
Login
- POST /login
- Request Body:
username,password - Response:
200 OKwith a success message
- Request Body:
Send Message
- POST /send-message
- Request Body:
from,to,content,type,priority - Response:
201 Createdwith a success message
- Request Body:
Get Messages
- GET /messages
- Query Parameter:
userId - Response:
200 OKwith an array of messages
- Query Parameter:
License
Apache 2.0 License
Copyright 2024 KOSASIH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
We read every piece of feedback, and take your input very seriously.