# Get Started

Moonshard provide an opinionated API over fastify(opens new window) framework, it was created to allow fast development phase and blazing production performance.

To start a server just execute the start function:

import {start} from 'moonshard';

start(3000);

# Create our first controller

import {Controller, Get} from 'moonshard';

@Controller()
export class App {
  @Get()
  helloWord() {
    return 'hello world';  
  }
}

Now just run the dev to start development and check the dev server at http://localhost:3000.

That's it.