Skip to content

Framework for building Simple and eXtensible API using 100% of Javascript.

License

Notifications You must be signed in to change notification settings

startxfr/sxapi-core

Repository files navigation

sxapi-core project sxapi

last commit Doc Build Status docker build npm version

sxapi for simple and extensible api (Application Programming Interface) is an an open-source framework for quickly building simple and small API based on microservice architecture.

Very light (application less than 100Ko, full container stack for less than 30Mo) and configured with a single json file, you can build instantly small atomic API endpoints as well as fully featured enterprise-sized API.

This is the main documentation for the sxapi-core project. You can get some sample code and components usage by reading the documentation.

Getting Started

  • container image published in dockerhub public registry The simplest and fastest way to get a running sxapi application is to use the public docker image. For more information on how to run your first sxapi application using sxapi docker image, please read the docker image user guide
  • npm module published in npm public database If you plan to develop your own component or embed you api into another application, you should be more interested by the npm method. For more information on how to run your first sxapi application using sxapi npm module, please read the npm module user guide
  • source code published in github If you plan to extend sxapi capabilities with your own component, change default software design, extend core functinalities or more globaly improve this application, please read the source code user guide

Want to try

You can also use the examples templates designed for openshift to deploy instantly a simple app, a bot daemon or a full application

Creating your own API

sxapi-core come with many components to help you build your own api. As soon as you have an api instance working, you should focus on making change to your sxapi.yml config file and implement api endpoints you want to create. To help you understand how you can configure your api, you can :

  1. Visit sxapi-core official documentation and read carefully the configure section
  2. Visit sxapi-sample project and explore sample config file to help find sample code or ready-to-use config file

Documentation

If you want to have more information on how to install, develop and run this framework and use it in your project, please read the full documentation or our user guides and execute the following steps :

  1. Install sxapi framework
  2. Configure you API
  3. Run you application
  4. Develop sxapi resource
  5. Contribute to sxapi project

Release notes

If you want to have more information on a minor release, read released notes

Release Date Description
0.3.66 2022-11-02 Upgrade siren2tva to 1.2.0 and all app and dev dependencies.
0.3.63 2021-11-22 Upgrade siren2tva to 1.1.5 and all app and dev dependencies. Reduce to 3 moderate vuln
0.3.61 2021-11-21 Security update of all deps
0.3.59 2021-06-26 Security update of all deps and add sxapi operator documentation
0.3.58 2021-05-28 Security update of all deps
0.3.57 2020-09-01 stabilize aws_s3 resource
0.3.17 2019-07-27 Adding swagger module and improve couchbase support
0.3 2019-03-08 Moving config to yaml syntax
0.2 2018-03-18 Adding bot behavior, event messaging and containerized images
0.1 2018-01-20 Adding all resources, session and websockets
beta 2016-10-29 micro api componement with log and lightweight webserver

Troubleshooting

If you run into difficulties installing or running sxapi, you can create an issue.

Built With

Contributing

Read the contributing guide for details on our code of conduct, and the process for submitting pull requests to us.

Authors

This project is mainly developped by the startx dev team. You can see the complete list of contributors who participated in this project by reading contributors.md.

License

This project is licensed under the GPL Version 3 - see the LICENSE.md file for details

About

Framework for building Simple and eXtensible API using 100% of Javascript.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages