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.
- 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 ?
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.json config file and implement api endpoints you want to create.
To help you understand how you can configure your api, you can :
- Visit sxapi-core official documentation and read carefully the configure section
- Visit sxapi-sample project and explore sample config file to help find sample code or ready-to-use config file
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 :
- Install sxapi framework
- Configure you API
- Run you application
- Develop sxapi resource
- Contribute to sxapi project
If you run into difficulties installing or running sxapi, you can create an issue.
- docker - Container plateform
- alpine - OS envelop
- nodejs - Application server
- express - Web framework
Read the contributing guide for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the GPL Version 3 - see the LICENSE.md file for details