LogoLogo
CS CONSOLECOMMUNITYDOCS
  • What is code.store?
  • Our vision
  • How it works?
  • Getting started
    • Quick Start
      • Core concepts
      • Quick Start with CLI
      • Quick Start with Web Interface
    • FUNDAMENTALS
      • Services
        • GraphQL
        • REST
        • Configuration
        • Environment Variables
      • Environments
      • Projects
      • Versioning
      • Access and Authorization
      • Secret management
      • Data management
        • Import and Export
      • Generation
        • Models
        • Handlers
        • Resolvers
        • REST
        • Middlewares
      • Logging
      • Microservices
        • Communication
    • RECIPES
      • TypeScript
        • Custom .tslint
      • Basic authentication
      • Setup a local database with your service
      • GraphQL
    • Tutorials
      • Auth0 authentication
      • Metabase integration
      • Database manipulations
        • External database: MongoDB
        • External database: DynamoDB
      • Wrapping an NPM package with GraphQL: a chess server
    • FAQ
  • Command Line Interface
    • Getting started
    • Commands
Powered by GitBook
On this page
  • Create your service & GraphQL Schema
  • Database generation
  • Promote your service to a private environment
  • Add a service to a project
  • Sell your work to your clients for a monthly fee, if you want πŸ’°

Was this helpful?

Export as PDF

How it works?

A short guide explaining the whole code.store in a single page. Don't say thanks! πŸ‘Š

PreviousOur visionNextQuick Start

Last updated 4 years ago

Was this helpful?

Create your service & GraphQL Schema

The you are building is going to be consumed by your clients (real clients or frontend teammates) via an API (GraphQL), which your service is exposing. That is why we believe in the schema-first approach, where you are required to define an first and then develop a backend that provides data for this schema (as opposed to a code-first approach where the schema is generated from the code you write). (or API) IS YOUR PRODUCT! That is why everything starts with a at code.store.

Database generation

At the moment, we are supporting Typescript/JS services, thus the generation of TypeORM models. We are going to support other programming languages as well, with PHP being the next one.

Promote your service to a private environment

Add a service to a project

Sell your work to your clients for a monthly fee, if you want πŸ’°

We strive to simplify your life, and so we are taking the complexity of database management from your shoulders and are g automatically from your schema. Whenever you add a new type, field, or modify the existing ones, our platform generates migrations and which you can use to write business logic in resolvers.

When ready, push your changes to our cloud using the to our platform. code.store will check your code, containerize it, and deploy it to a private . You can then promote your service to the Demo environment, which is used to let every developer in your experiment with your and check if it corresponds to the needs of their .

Once created, your cannot be used per se in a production application or site, you need to add it to a . Projects represent applications or sites where your is used. Each service can be used in as many projects as you wish. You can use our web UI or to add your service to any of your projects. Every developer in your organization can create projects and add services to them. A is created when you add a service to a . It's an entirely isolated version of your service: it has its dedicated environments, database, and logs.

For each in a , you can define a rate-plan so that you can bill your clients monthly per service usage (price per call) or as a subscription. The core idea is to bundle together costs of building the service, its maintenance, support, and hosting in a single simple fee that your client pays. Up to today, you can sell and bill services to your clients only, but we'll be launching a public marketplace as soon as we have enough on-board service .

CLI
CLI
Schema is not perfect but represents quite well code.store.
enerating database tables
TypeORM Entities (also called models),
environment
organization
service
project
service
project
service
service-instance
project
service-instance
project
makers
service
API (or a schema)
GraphQL schema
schema