O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Our project structure

Let's start by creating the Project structure for our source code. Create the following directories and files in your working directory, as shown in the following screenshot:

The src folder contains three subfolders: models, routes, and config. In this chapter, we will just use the routes folder and the teams-api.js file. The other two will be explored in the next chapter when we talk about Databases and MongoDB.

The goal of the routes folder is to host all the API Routes declaration. We have declared our routes in the server.js file; it might be a good idea if we are working on a small project, but it is not a good idea ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required