Walk through
Following is a walkthrough of the ProWrite codebase:
- 
The /appfolder contains the blog, article, authors, and contact pages. It also includes the error, loading, and not-found pages, along withglobal.css,favicon.ico,sitemap.ts, and asyntax.cssfile that highlights code.
- 
The /componentsfolder contains subfolders with the components for each page and other related components.
- 
The /contentfolder contains the local content (articles and authors).
- 
The /contextsfolder contains theAlertcontext used to trigger alerts from anywhere in the app.
- 
The /libfolder contains SEO metadata and utility functions used in the client environment.
- 
The /publicfolder contains subfolders with related static assets, such as images.
- 
The /resourcesfolder contains resources such as Contentful config.
- 
The /serverfolder contains the following four subfolders:- The /actionsfolder contains files with React Server Actions.
- The /configfolder contains the Contentful configuration for interacting with the CMS.
- The /datafolder contains subfolders and files with functions to fetch data.
- The /libfolder contains the error handler and utility functions used in the server environment.
 
- The 
- 
The .env.examplefile contains the environment variables used in the template.
- 
The types.tsfile contains the type definitions used in the app.
Lastly, there are a few configuration files.
