In the previous chapter, we learned about Vapor and its packages, as well as how to build a basic web server using those packages. We learned about the Vapor toolbox and how to use the toolbox to Bootstrap a new Vapor application. We also learned about the general structure of a Vapor application. In this chapter, we will look into Providers, which are packages that can be imported into your Vapor application and provide it with additional functionality. In particular, we will examine the Fluent provider and learn about what Fluent is and its purpose in Vapor applications. We will also touch upon databases, and one database, in particular, called MongoDB in this chapter. This chapter will lay the foundation of our server-side API for the Shopping List app we built in Chapter 2, Creating the Native App and will connect all...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia