Skip to content

Create a project ​

You create a project with a step-by-step wizard. The steps shown depend on the project type and on the options you select.

To start the wizard, open Projects and click New Microservice. If you don't have any project yet, click Create your first project.

Steps by type ​

StepREST APIIAMAnalytic API
Select Project Type✓✓✓
Project Details✓✓✓
Database ConfigurationExcept with the free MongoDB databaseWith the default identity provider✓ (BigQuery)
Select Identity ProviderWithout the default identity provider
Git SynchronizationIf selectedIf selectedIf selected
Review✓✓✓

1. Project type ​

Choose REST API, IAM or Analytic API (see Manage your projects), then click Next.

2. Project details ​

  • Project Name (required): unaccented letters, numbers, spaces and _. The name must be unique: if a project already has this name, the message "A Microservice with that name already exists" is shown.
  • Description (optional): what the API is for.

Depending on the type, options are shown under these fields:

OptionTypeEffect
Link to a new free data base in MongoDBREST APIGrizzly creates a hosted MongoDB database named after the project. The database step is skipped.
Continue with a default Identity ProviderIAMUses Grizzly's identity provider instead of choosing your own.
Security ConfigurationREST API, Analytic APIEnables the API's security: its endpoints can then be protected by roles, set later on the project's page.
Git synchronisationAllLinks the project to a Git repository.

To try it out quickly

For a REST API project, select Link to a new free data base in MongoDB: there's no database to prepare.

3. Database configuration ​

Choose the data source the API reads from and writes to:

  1. Look for the source in Search existing Data Sources..., or click Add New Source to create one.
  2. Click the source's card.
  3. Choose the Database from the list. For an Analytic API project, it's filled in automatically.

INFO

Only databases with at least one collection (or table) are listed. An Analytic API project only shows BigQuery sources.

Select an identity provider (IAM) ​

If you didn't select the default identity provider, choose one or more providers in Choose an Identity Provider. The Add button creates a new one.

Git synchronization ​

  1. Enter the GIT URL, then the Username and Password. For a GitHub repository, use a token in the Token (For Github Repos) field.
  2. Click Check Branchs to load the repository's branches.
  3. Choose the Branch, or enter the name of a new branch with Add Branch.

Grizzly checks access to the repository when you click Next.

4. Review ​

Check the summary (name, type, description, Git, security, database), then click Validate.

The project appears in the list. It already contains:

  • a first release, 1.0.0;
  • an Untitled resource group (REST API project), ready for your endpoints;
  • an Authentication Grizzly group if security is enabled. This group is managed by Grizzly.

Example: a store API ​

Let's create a REST API to manage a store's products, with a free database and security enabled.

  1. New Microservice → REST API → Next.
  2. Project Name: Store. Description: Product catalog.
  3. Select Link to a new free data base in MongoDB and enable Security Configuration.
  4. Click Next until the Review step, then click Validate.

Then open the Store project to add your endpoints.

What's next? ​

Grizzly API · CodeOnce Software