Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fastify/example
Runnable examples of Fastify
https://github.com/fastify/example
demo examples fastify
Last synced: 6 days ago
JSON representation
Runnable examples of Fastify
- Host: GitHub
- URL: https://github.com/fastify/example
- Owner: fastify
- License: mit
- Created: 2017-09-15T11:43:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T11:25:14.000Z (3 months ago)
- Last Synced: 2025-01-18T09:08:56.630Z (13 days ago)
- Topics: demo, examples, fastify
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 133
- Watchers: 20
- Forks: 32
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# example
This repository is a collection of Fastify project that can be used to understand `how-to` archive commons
problems and requirements.Every directory is a stand alone project that you can read to undestand how it works and how it is configured.
## Projects
Here a list of the projects with a description, search in this page what you are looking for
| Project | Tags | Description |
|---------|------|-------------|
| [authentication] | `authentication` `session` | Example how to do authentication with `fastify-session` |
| [validation-messages] | `schema` `validation` | How you can customize the error messages of input schema validation |
| [winston-logger] | `logger` | Example how to use winston as a custom logger |
| [typescript decorators] | `typescript` | Example how to use typescript decorators to build application |
| [fastify postgres] | `postgres` `crud` | Simple CRUD app that show how integrate fastify with database, with 100% test coverage |
| [tests] | `tests` | Example of how to test your fastify application |## External Projects
Here a list of external projects that could be useful to find some tips and suggestions
| Project | Tags | Description |
|---------|------|-------------|## Contributions
PR are welcome! Consider that a project to be added to this repository needs to have:
+ A `README.md` file that exaplain the project itself
+ consider to use some [mermaid graph](https://mermaidjs.github.io)
+ Prefer a readable code, instead of concise
+ Comments on code that explain some code if there are more difficult parts
+ At least one test that show how to test the main function of the project## License
Licensed under [MIT](./LICENSE).
[authentication]: ./fastify-session-authentication
[validation-messages]:./validation-messages/
[winston-logger]: ./winston-logger
[typescript decorators]: ./typescript-decorators
[fastify postgres]: ./fastify-postgres