First server
To build our first server, let’s first go through the steps to build a simple server:
- Create a new project: We will create a new project with the needed dependencies and set up any environment specifics. You’re highly encouraged to create a virtual environment to ensure you don’t install libraries globally. By using a virtual environment, each project is isolated from other projects and you don’t have to worry about conflicting library versions that might otherwise occur.
- Install dependencies: Here, we will list and install dependencies for the project, which differ, of course, depending on the runtime you are using.
- Add server code: This is where we will add the server’s features. As part of this, we will discuss the feature, its input and output, and schemas.
- Test the server with inspector: Inspector is a tool that helps you ensure new features work okay. The tool allows you to run it in both CLI mode and...
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                