Skip to Content

🟢 Devtoberfest 2024 - Basic CDS CLI challenge

Beginner
30 min.
All the 6 question below are for cap cds cli.
You will learn
  • A lot about technology – and yourself – during Devtoberfest
  • Basics of CAP cds cli
ajaysorengAjay SorengOctober 10, 2024
Created by
ajaysoreng
October 10, 2024
Contributors
ajaysoreng

Prerequisites

  • Business Application Studio dev space for CAP Fullstack Applications
  • OR
  • CDS sdk and CDS CLI is setup locally

This challenge is part of the Devtoberfest 2024, a celebration of and for Developers. For more information and to join the fun, see the Devtoberfest Group and join the group.

Devtoberfest

 

For specifics on the Devtoberfest contest and the grand prize, see this Devtoberfest 2024 Contest blog

  • Step 1
    1. What is the missing keyword to create a initial CAP project in?

    cds ____ simpleCapProject

    cap≽ire

    Question 1

  • Step 2
    1. How do I add a tiny sample in CAP js initial project?

    cds add ___________

    cap≽ire

    Question 2

  • Step 3
    1. What option/suffix id required to generate a set of .csv files with header lines and data based on your CDS model? In this example we are generation 50 rows of data.

    cds add data _______ 50

    cap≽ire

    Question 3

  • Step 4
    1. What suffix is needed to generate SQL DDL statements based on your CDS models?

    cds compile db/ ______

    cap≽ire

    Question 4

  • Step 5
    1. how do you run cap server and restart on file changes locally? Answer is one character long.

    cds _

    cap≽ire

    Question 5

  • Step 6
    1. How do we add .http files with sample read and write requests for the cap service

    cds add ____

    cap≽ire

    Question 6

Back to top