Cosmia by KOSASIH is licensed under Creative Commons Attribution 4.0 International
The central repository for the Cosmia project, containing the core architecture and infrastructure for the Sidra Chain.
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.
- Clone the repository:
git clone https://github.com/KOSASIH/cosmia-core.git
- Install dependencies:
npm install
- Start the server:
npm start
- POST /register
- Request Body:
username
,email
,password
- Response:
201 Created
with a success message
- Request Body:
- POST /login
- Request Body:
username
,password
- Response:
200 OK
with a success message
- Request Body:
- POST /send-message
- Request Body:
from
,to
,content
,type
,priority
- Response:
201 Created
with a success message
- Request Body:
- GET /messages
- Query Parameter:
userId
- Response:
200 OK
with an array of messages
- Query Parameter:
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.